mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 05:12:30 +00:00 
			
		
		
		
	git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3596 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
		
			
				
	
	
		
			23 lines
		
	
	
		
			863 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			863 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
// Javascript functions needed by the groups page
 | 
						|
 | 
						|
$(document).ready(function(){
 | 
						|
    window.nodetabs = $("#nodetabs > ul").tabs(		{ cookie: { expires: 30, path: '/' },
 | 
						|
    	show: function(e,ui) {
 | 
						|
    		if (ui.tab.href.search('#attributes-tab$') > -1) { loadAttrTab($(ui.panel)); }
 | 
						|
    		if (ui.tab.href.search('#rvitals-tab$') > -1) { loadVitalsTab($(ui.panel)); }
 | 
						|
		    if (ui.tab.href.search('#rpower-tab$') > -1) {
 | 
						|
			    loadRpowerTab($(ui.panel));
 | 
						|
   		    }
 | 
						|
            if (ui.tab.href.search('#ping-tab$') > -1) {
 | 
						|
                loadPingTab($(ui.panel));
 | 
						|
            }
 | 
						|
            if (ui.tab.href.search('#copy-tab$') > -1) {
 | 
						|
                loadCopyTab($(ui.panel));
 | 
						|
            }
 | 
						|
            if (ui.tab.href.search('#spcfg-tab$') > -1) {
 | 
						|
                loadSPCfgTab($(ui.panel));
 | 
						|
            }
 | 
						|
    	}});		// ends the properties passed to tabs()
 | 
						|
  });
 | 
						|
 |