[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [12187] edit editor_action
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [12187] edit editor_action |
Date: |
Thu, 16 Oct 2014 12:06:34 +0000 |
Revision: 12187
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12187
Author: sigurdne
Date: 2014-10-16 12:06:33 +0000 (Thu, 16 Oct 2014)
Log Message:
-----------
edit editor_action
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
2014-10-15 22:57:36 UTC (rev 12186)
+++ branches/dev-syncromind/phpgwapi/templates/base/datatable_jquery.xsl
2014-10-16 12:06:33 UTC (rev 12187)
@@ -293,6 +293,8 @@
</xsl:template>
<xsl:template name="datasource-definition">
+
+
<table id="datatable-container" class="display cell-border compact
responsive no-wrap" width="100%">
<thead>
<tr>
@@ -316,6 +318,13 @@
</thead>
</table>
<script>
+
+ var editor_action = '';
+ <xsl:if test="//datatable/editor_action">
+ var oArgs = {menuaction: "<xsl:value-of
select="//datatable/editor_action"/>"};
+ var editor_action = phpGWLink('index.php', oArgs, true);
+ </xsl:if>
+
var columns = [
<xsl:for-each select="//datatable/field">
{
@@ -362,7 +371,7 @@
JqueryPortico.columns.push(columns[i]);
}
}
- console.log(JqueryPortico.columns);
+// console.log(JqueryPortico.columns);
]]>
</script>
@@ -553,7 +562,7 @@
type: 'GET'
},
fnDrawCallback: function () {
- $('#datatable-container tbody
td').editable( '../example.php', {
+ $('#datatable-container tbody
td').editable( editor_action, {
"callback": function( sValue, y
) {
oTable.fnDraw();
},
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [12187] edit editor_action,
Sigurd Nes <=