[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [12538]
From: |
Nelson Guerra |
Subject: |
[Fmsystem-commits] [12538] |
Date: |
Mon, 05 Jan 2015 23:35:39 +0000 |
Revision: 12538
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12538
Author: nelson224
Date: 2015-01-05 23:35:38 +0000 (Mon, 05 Jan 2015)
Log Message:
-----------
Modified Paths:
--------------
branches/dev-syncromind/phpgwapi/templates/base/datatable_jquery.xsl
Modified: branches/dev-syncromind/phpgwapi/templates/base/datatable_jquery.xsl
===================================================================
--- branches/dev-syncromind/phpgwapi/templates/base/datatable_jquery.xsl
2015-01-05 23:35:21 UTC (rev 12537)
+++ branches/dev-syncromind/phpgwapi/templates/base/datatable_jquery.xsl
2015-01-05 23:35:38 UTC (rev 12538)
@@ -628,9 +628,7 @@
</xsl:when>
<xsl:otherwise>
- JqueryPortico.TableTools = {
- "sSwfPath":
"phpgwapi/js/DataTables/extensions/TableTools/swf/copy_csv_xls_pdf.swf"
- };
+ JqueryPortico.TableTools = false;
</xsl:otherwise>
</xsl:choose>
<![CDATA[
@@ -653,6 +651,15 @@
}
}
+ if(JqueryPortico.TableTools)
+ {
+ var sDom_def =
'lCT<"clear">f<"top"ip>rt<"bottom"><"clear">';
+ }
+ else
+ {
+ var sDom_def = '<"clear">lfrtip';
+ }
+
$(document).ready(function() {
oTable = $('#datatable-container').dataTable( {
@@ -709,7 +716,7 @@
colVis: {
exclude:
exclude_colvis
},
- dom:
'lCT<"clear">f<"top"ip>rt<"bottom"><"clear">',
+ dom: sDom_def,
stateSave: true,
stateDuration: -1, //sessionstorage
tabIndex: 1,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [12538],
Nelson Guerra <=