From 183b8b614cc042688c7d3250d4f7af4af7bffe53 Mon Sep 17 00:00:00 2001 From: mxi1 Date: Thu, 10 Dec 2009 05:50:31 +0000 Subject: [PATCH] the js code for display dataTable is uncommented. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4752 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-UI/lib/display.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/xCAT-UI/lib/display.php b/xCAT-UI/lib/display.php index 36e5dce72..b96ec7ab5 100644 --- a/xCAT-UI/lib/display.php +++ b/xCAT-UI/lib/display.php @@ -457,17 +457,17 @@ EOF; } function controlRunCmd($nr, $cmd, $subcmd){ -//echo << -//$(document).ready(function() { -// $("#tableForCtrl").dataTable({ -// "bLengthChange": true, -// "bFilter": true, -// "bSort": true -// }); -//}); -// -//JS00; +echo << +$(document).ready(function() { + $("#tableForCtrl").dataTable({ + "bLengthChange": true, + "bFilter": true, + "bSort": true + }); +}); + +JS00; echo "
"; $rvals = docmd($cmd, $nr, array($subcmd)); #print_r($rvals);