One Hat Cyber Team
Your IP :
216.73.216.126
Server IP :
178.63.234.5
Server :
Linux whm01.ins-jo.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Server Software :
Apache
PHP Version :
8.1.32
Buat File
|
Buat Folder
Dir :
~
/
home
/
business
/
www
/
public
/
assets
/
front
/
user
/
js
/
View File Name :
quote.js
"use strict"; (function ($) { var app = new Vue({ el: '#app', data: { type: 1, counter: 0, placeholdershow: true }, methods: { typeChange() { if (this.type == 3 || this.type == 5) { this.placeholdershow = false; } else { this.placeholdershow = true; } if (this.type == 2 || this.type == 3) { this.counter = 1; } else { this.counter = 0; } }, addOption() { $("#optionarea").addClass('d-block'); this.counter++; }, removeOption(n) { $("#counterrow"+n).remove(); if ($(".counterrow").length == 0) { this.counter = 0; } } } }) })(jQuery); $(window).on('load', function() { const sortable = "#sortable"; $(sortable).sortable({ stop: function( event, ui ) { $(".request-loader").addClass('show'); let fd = new FormData(); $(".ui-state-default.ui-sortable-handle").each(function(index) { fd.append('ids[]', $(this).data('id')); let order = parseInt(index) + 1 fd.append('orders[]', order); }); $.ajax({ url: orderUpdateUrl, method:'POST', data: fd, contentType: false, processData: false, success: function(data) { $(".request-loader").removeClass('show'); } }) } }); $(sortable).disableSelection(); });