-ping.js is added

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3584 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
mxi1 2009-06-16 06:17:37 +00:00
parent e30f56e22a
commit 7b3bc6db11

13
xCAT-web/machines/ping.js Normal file
View File

@ -0,0 +1,13 @@
// 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);
}