xcat-core/xCAT-web/machines/ping.js
mxi1 7b3bc6db11 -ping.js is added
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3584 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-16 06:17:37 +00:00

14 lines
381 B
JavaScript

// Javascript functions for the Ping tab
function loadPingTab(panel) {
//alert('showing ping tab');
var nr = '';
if (window.noderange && window.noderange != "") {
nr = window.noderange;
}
panel.children().remove(); //get rid of the previous contents
panel.append('<p>Loading node ping... <img src="../images/throbber.gif"></p>');
panel.load('ping.php?noderange='+nr);
}