⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
id
/
.trash
/
public_html
/
public
/
assets
/
user
/
js
/
View File Name :
quote.js
"use strict"; (function ($) { var app = new Vue({ el: '#app', data: { type: 1, counter: 0, placeholdershow: true, fileExtensions: false, }, methods: { typeChange() { if (this.type == 3 || this.type == 5) { if (this.type == 5) { this.fileExtensions = true; } this.placeholdershow = false; } else { this.fileExtensions = false; this.placeholdershow = true; } if (this.type == 2 || this.type == 3) { $("#searchingField").removeClass('d-none'); this.counter = 1; } else { $("#searchingField").addClass('d-none'); 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(); });