From 7b3bc6db114b00d821e92cafc3418a8acb4cc2a4 Mon Sep 17 00:00:00 2001 From: mxi1 Date: Tue, 16 Jun 2009 06:17:37 +0000 Subject: [PATCH] -ping.js is added git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3584 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-web/machines/ping.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 xCAT-web/machines/ping.js diff --git a/xCAT-web/machines/ping.js b/xCAT-web/machines/ping.js new file mode 100644 index 000000000..e49d72061 --- /dev/null +++ b/xCAT-web/machines/ping.js @@ -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('

Loading node ping...

'); + panel.load('ping.php?noderange='+nr); +}