| Server IP : 146.190.157.162 / Your IP : 216.73.217.174 Web Server : Apache System : Linux ubuntu-s-2vcpu-4gb-amd-sfo3-01-KIT-DIGITAL 6.5.0-44-generic #44-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 7 15:10:09 UTC 2024 x86_64 User : businessweek ( 639) PHP Version : 8.2.10-2ubuntu2.2 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_signal,pcntl_signal_dispatch,pcntl_getpriority,pcntl_setpriority,dl,putenv,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/share/javascript/jquery-tablesorter/js/widgets/ |
Upload File : |
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
/*! Widget: saveSort - updated 2018-03-19 (v2.30.1) */
!function(s){"use strict";var l=s.tablesorter||{};function v(t){t=l.storage(t.table,"tablesorter-savesort");return t&&t.hasOwnProperty("sortList")&&s.isArray(t.sortList)?t.sortList:[]}function g(t,s){return(s||v(t)).join(",")!==t.sortList.join(",")}l.addWidget({id:"saveSort",priority:20,options:{saveSort:!0},init:function(t,s,o,r){s.format(t,o,r,!0)},format:function(s,t,o,r){var e,a=t.$table,i=!1!==o.saveSort,n={sortList:t.sortList},o=l.debug(t,"saveSort");o&&(e=new Date),a.hasClass("hasSaveSort")?i&&s.hasInitialized&&l.storage&&g(t)&&(l.storage(s,"tablesorter-savesort",n),o&&console.log("saveSort >> Saving last sort: "+t.sortList+l.benchmark(e))):(a.addClass("hasSaveSort"),n="",l.storage&&(n=v(t),o&&console.log('saveSort >> Last sort loaded: "'+n+'"'+l.benchmark(e)),a.bind("saveSortReset",function(t){t.stopPropagation(),l.storage(s,"tablesorter-savesort","")})),r&&n&&0<n.length?t.sortList=n:s.hasInitialized&&n&&0<n.length&&g(t,n)&&l.sortOn(t,n))},remove:function(t,s){s.$table.removeClass("hasSaveSort"),l.storage&&l.storage(t,"tablesorter-savesort","")}})}(jQuery);return jQuery;}));