bibhamrokhanpin/wp-content/plugins/simple-custom-post-order/assets/taxonomy_order.min.js

1 line
638 B
JavaScript
Raw Normal View History

2024-04-10 12:01:06 +00:00
jQuery(function(e){function s(n){var t=e(".tablenav .actions");0===t.find(".spinner").length&&!0===n?t.prepend('<div class="spinner" style="display: inline;" />'):!0===n?t.find(".spinner").show():t.find(".spinner").hide()}"edit-tags-php"==adminpage&&e(".wp-list-table.tags tbody").sortable({items:"tr:not(.inline-edit-row)",cursor:"move",axis:"y",containment:"table.widefat",scrollSensitivity:40,stop:function(n,t){var i=new Array([]);s(!0),e(".wp-list-table.tags tbody tr:not(.inline-edit-row)").each(function(n,t){t=parseInt(e(t).attr("id").substr(4));i[n]=t}),e.post(ajaxurl,{rows:i,action:"get_inline_boxes"},function(n){s(!1)})}})});