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
This commit is contained in:
mxi1 2009-12-10 05:50:31 +00:00
parent 3ba9416185
commit 183b8b614c

View File

@ -457,17 +457,17 @@ EOF;
}
function controlRunCmd($nr, $cmd, $subcmd){
//echo <<<JS00
//<script type="text/javascript" type"utf-8">
//$(document).ready(function() {
// $("#tableForCtrl").dataTable({
// "bLengthChange": true,
// "bFilter": true,
// "bSort": true
// });
//});
//</script>
//JS00;
echo <<<JS00
<script type="text/javascript" type"utf-8">
$(document).ready(function() {
$("#tableForCtrl").dataTable({
"bLengthChange": true,
"bFilter": true,
"bSort": true
});
});
</script>
JS00;
echo "<div id=tableForCtrl>";
$rvals = docmd($cmd, $nr, array($subcmd));
#print_r($rvals);