1
|
!function(e,t,a,n,o,s,i,l){"use strict";var c,r,d,u,p;t(".wp-list-table.jetpack-modules"),d=t(".navbar-form"),u=t("#srch-term-search-input"),t(".jp-frame"),p=t("#doaction"),c=new n.Modules({items:a}),new o.List_Table({el:"#the-list",model:c}),c.trigger("change"),r=function(e){t(".subsubsub").find('a[data-title="'+t(this).data("title")+'"]').addClass("current").closest("li").siblings().find("a.current").removeClass("current"),e.preventDefault(),c.trigger("change")},t(".subsubsub a").on("click",{modules:c},r),d.on("click",".button-group .button",{modules:c},(function(e){e.preventDefault(),t(this).addClass("active").siblings(".active").removeClass("active"),c.trigger("change")})),u.on("keyup search",(function(e){9!==e.keyCode&&c.trigger("change")})),u.prop("placeholder",s.search_placeholder),p.on("click",(function(a){var n,o=t(".jetpack-modules-list-table-form").serialize(),s=t(this).siblings("select").val();o.length&&"-1"!==s&&(n="admin.php?page=jetpack&action="+encodeURIComponent(s),n+="&"+o,n+="&_wpnonce="+encodeURIComponent(l.bulk),e.location.href=n),a.preventDefault()}))}(window,jQuery,window.jetpackModulesData.modules,window.jetpackModules.models,window.jetpackModules.views,window.jetpackModulesData.i18n,window.jetpackModulesData.modalinfo,window.jetpackModulesData.nonces);
|