⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.112
Server IP:
65.21.180.239
Server:
Linux gowhm.eplangoweb.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.0.30
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
eplangoweb
/
.trash
/
assets.1
/
front
/
user
/
js
/
Edit File: 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(); });
Simpan