PATH:
home
/
centosnipponia
/
public_html
/
nipponiacom2
/
caribe
/
media
/
system
/
js
/** * @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ /** * JavaScript behavior to allow selected tab to be remained after save or page reload * keeping state in localstorage */ jQuery(function() { var loadTab = function() { var $ = jQuery.noConflict(); jQuery(document).find('a[data-toggle="tab"]').on('click', function(e) { // Store the selected tab href in localstorage window.localStorage.setItem('tab-href', $(e.target).attr('href')); }); var activateTab = function(href) { var $el = $('a[data-toggle="tab"]a[href*=' + href + ']'); $el.tab('show'); }; var hasTab = function(href){ return $('a[data-toggle="tab"]a[href*=' + href + ']').length; }; if (localStorage.getItem('tab-href')) { // When moving from tab area to a different view if(!hasTab(localStorage.getItem('tab-href'))){ localStorage.removeItem('tab-href'); return true; } // Clean default tabs $('a[data-toggle="tab"]').parent().removeClass('active'); var tabhref = localStorage.getItem('tab-href'); // Add active attribute for selected tab indicated by url activateTab(tabhref); // Check whether internal tab is selected (in format <tabname>-<id>) var seperatorIndex = tabhref.indexOf('-'); if (seperatorIndex !== -1) { var singular = tabhref.substring(0, seperatorIndex); var plural = singular + "s"; activateTab(plural); } } }; setTimeout(loadTab, 100); });
[+]
..
[-] calendar-setup-uncompressed.js
[edit]
[-] calendar-setup.js
[edit]
[-] calendar-uncompressed.js
[edit]
[-] calendar.js
[edit]
[-] caption-uncompressed.js
[edit]
[-] caption.js
[edit]
[-] combobox-uncompressed.js
[edit]
[-] combobox.js
[edit]
[-] core-uncompressed.js
[edit]
[-] core.js
[edit]
[-] frontediting-uncompressed.js
[edit]
[-] frontediting.js
[edit]
[-] helpsite.js
[edit]
[-] highlighter-uncompressed.js
[edit]
[-] highlighter.js
[edit]
[-] html5fallback-uncompressed.js
[edit]
[-] html5fallback.js
[edit]
[-] index.html
[edit]
[-] jquery.Jcrop.js
[edit]
[-] jquery.Jcrop.min.js
[edit]
[-] modal-uncompressed.js
[edit]
[-] modal.js
[edit]
[-] mootools-core-uncompressed.js
[edit]
[-] mootools-core.js
[edit]
[-] mootools-more-uncompressed.js
[edit]
[-] mootools-more.js
[edit]
[-] mootree-uncompressed.js
[edit]
[-] mootree.js
[edit]
[-] multiselect-uncompressed.js
[edit]
[-] multiselect.js
[edit]
[-] passwordstrength.js
[edit]
[-] progressbar-uncompressed.js
[edit]
[-] progressbar.js
[edit]
[-] punycode-uncompressed.js
[edit]
[-] punycode.js
[edit]
[-] repeatable-uncompressed.js
[edit]
[-] repeatable.js
[edit]
[-] switcher-uncompressed.js
[edit]
[-] switcher.js
[edit]
[-] tabs-state.js
[edit]
[-] tabs.js
[edit]
[-] validate-jquery-uncompressed.js
[edit]
[-] validate-uncompressed.js
[edit]
[-] validate.js
[edit]
[-] .htaccess.disabled
[edit]