"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/themes/modern/main.js" between
cacti-1.2.21.tar.gz and cacti-1.2.22.tar.gz

About: Cacti is a complete network graphing solution designed to harness the power of RRDTool’s data storage and graphing functionality.

main.js  (cacti-1.2.21):main.js  (cacti-1.2.22)
skipping to change at line 203 skipping to change at line 203
$(this).find('ul').attr('aria-hidden', 'true').attr('aria -expanded', 'false').hide(); $(this).find('ul').attr('aria-hidden', 'true').attr('aria -expanded', 'false').hide();
$(this).next('a').hide(); $(this).next('a').hide();
storage.set($(this).closest('.menuitem').attr('id'), 'col lapsed'); storage.set($(this).closest('.menuitem').attr('id'), 'col lapsed');
} else { } else {
$(this).find('ul').attr('aria-hidden', 'false').attr('ari a-expanded', 'true').show(); $(this).find('ul').attr('aria-hidden', 'false').attr('ari a-expanded', 'true').show();
$(this).next('a').show(); $(this).next('a').show();
storage.set($(this).closest('.menuitem').attr('id'), 'act ive'); storage.set($(this).closest('.menuitem').attr('id'), 'act ive');
} }
}); });
// Functon to give life to the Navigation pane // Function to give life to the Navigation pane
$('#nav li:has(ul) a.active').unbind().click(function(event) { $('#nav li:has(ul) a.active').unbind().click(function(event) {
event.preventDefault(); event.preventDefault();
id = $(this).closest('.menuitem').attr('id'); id = $(this).closest('.menuitem').attr('id');
if ($(this).next().is(':visible')) { if ($(this).next().is(':visible')) {
$(this).next('ul').attr('aria-hidden', 'true').attr('aria -expanded', 'false'); $(this).next('ul').attr('aria-hidden', 'true').attr('aria -expanded', 'false');
$(this).next().slideUp( { duration: 200, easing: 'swing' } ); $(this).next().slideUp( { duration: 200, easing: 'swing' } );
storage.set(id, 'collapsed'); storage.set(id, 'collapsed');
} else { } else {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)