Revision: 3011
https://sourceforge.net/p/mrbs/code/3011/
Author: cimorrison
Date: 2015-03-01 18:53:26 +0000 (Sun, 01 Mar 2015)
Log Message:
-----------
Changed some options to use new API
Modified Paths:
--------------
mrbs/branches/datatables_update/web/js/datatables.js.php
mrbs/branches/datatables_update/web/js/pending.js.php
Modified: mrbs/branches/datatables_update/web/js/datatables.js.php
===================================================================
--- mrbs/branches/datatables_update/web/js/datatables.js.php 2015-03-01
18:05:15 UTC (rev 3010)
+++ mrbs/branches/datatables_update/web/js/datatables.js.php 2015-03-01
18:53:26 UTC (rev 3011)
@@ -164,15 +164,16 @@
<?php
}
?>
- defaultOptions.bDeferRender = true;
- defaultOptions.bPaginate = true;
- defaultOptions.bProcessing = true;
- defaultOptions.bScrollCollapse = true;
- defaultOptions.bStateSave = true;
- defaultOptions.iDisplayLength = 25;
- defaultOptions.sDom = 'C<"clear">lfrtip';
- defaultOptions.sScrollX = "100%";
- defaultOptions.sPaginationType = "full_numbers";
+ defaultOptions.deferRender = true;
+ defaultOptions.paging = true;
+ defaultOptions.pageLength = 25;
+ defaultOptions.pagingType = "full_numbers";
+ defaultOptions.processing = true;
+ defaultOptions.scrollCollapse = true;
+ defaultOptions.stateSave = true;
+ defaultOptions.pageLength = 25;
+ defaultOptions.dom = 'C<"clear">lfrtip';
+ defaultOptions.scrollX = "100%";
defaultOptions.oColReorder = {};
defaultOptions.oColVis = {sSize: "auto",
buttonText: '<?php echo
escape_js(get_vocab("show_hide_columns")) ?>',
Modified: mrbs/branches/datatables_update/web/js/pending.js.php
===================================================================
--- mrbs/branches/datatables_update/web/js/pending.js.php 2015-03-01
18:05:15 UTC (rev 3010)
+++ mrbs/branches/datatables_update/web/js/pending.js.php 2015-03-01
18:53:26 UTC (rev 3011)
@@ -107,8 +107,8 @@
pendingTable.fnOpen(nTr.get(0), subtable.get(0), 'table_container');
$('#' + subtableId).dataTable({"bAutoWidth": false,
- "bPaginate": false,
- "sDom": 't',
+ "paging": false,
+ "dom": 't',
"aoColumns": columns});
$('#subtable_' + serial + '_wrapper').hide().slideDown();
@@ -123,7 +123,7 @@
// using FixedColumns. We also have to turn off bStateSave. I have
raised
// this on the dataTables forum. In the meantime we comment out the
FixedColumns.
?>
- tableOptions.bStateSave = false;
+ tableOptions.stateSave = false;
<?php
// Fix the left hand column. This has to be done when
// initialisation is complete as the language files are loaded
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits