2008-10-29 13:57:19 +00:00
|
|
|
// 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)); }
|
2008-11-19 21:26:43 +00:00
|
|
|
if (ui.tab.href.search('#rvitals-tab$') > -1) { loadVitalsTab($(ui.panel)); }
|
2009-06-04 07:30:24 +00:00
|
|
|
if (ui.tab.href.search('#rpower-tab$') > -1) {
|
|
|
|
loadRpowerTab($(ui.panel));
|
2009-06-09 05:09:08 +00:00
|
|
|
}
|
|
|
|
if (ui.tab.href.search('#ping-tab$') > -1) {
|
|
|
|
loadPingTab($(ui.panel));
|
|
|
|
}
|
2009-06-04 07:30:24 +00:00
|
|
|
}}); // ends the properties passed to tabs()
|
2008-10-29 13:57:19 +00:00
|
|
|
});
|
|
|
|
|