0byt3m1n1
Path:
/
var
/
www
/
clients
/
client38
/
web37
/
web
/
wp-content
/
plugins
/
tablepress
/
admin
/
js
/
[
Home
]
File: list.min.js
jQuery(function(o){"use strict";o(".tablepress-all-tables").on("click",".shortcode a",function(){return prompt(tablepress_list.shortcode_popup,o(this).attr("title")),!1}),o(".tablepress-all-tables").on("click",".table-preview a",function(){var t=o(window).width()-120,e=o(window).height()-120,a=o(this);return o("#wpadminbar").length&&(e-=parseInt(o("#wpadminbar").css("height"),10)),tb_show(a.text(),a.attr("href")+"TB_iframe=true&height="+e+"&width="+t,!1),!1}),o("#tablepress-page").on("click",".ajax-link",function(){var e=o(this),a=e.data("action"),s=e.data("item"),i=e.data("target");return o.get(ajaxurl,this.href.split("?")[1],function(t){"1"===t&&"hide_message"===a&&("donation_nag"===s&&""!==i&&(e.closest("div").after('<div class="donation-message-after-click-message notice notice-success"><p><strong>'+tablepress_list["donation-message-"+i]+"</strong></p></div>"),o(".donation-message-after-click-message").delay(1e4).fadeOut(2e3,function(){o(this).remove()})),e.closest("div").remove())}),!1}),o("#doaction, #doaction2").on("click",function(){var t=o(".tablepress-all-tables").find("tbody").find("input:checked").length,e="doaction"===this.id?"top":"bottom";return"-1"!==o("#bulk-action-selector-"+e).val()&&(0!==t&&(!("delete"===o("#bulk-action-selector-"+e).val()&&(t=1===t?tablepress_common.ays_delete_single_table:tablepress_common.ays_delete_multiple_tables,!confirm(t)))&&void 0))})});