fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [14781] update after edit line in table


From: Sigurd Nes
Subject: [Fmsystem-commits] [14781] update after edit line in table
Date: Mon, 29 Feb 2016 13:36:22 +0000

Revision: 14781
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14781
Author:   sigurdne
Date:     2016-02-29 13:35:16 +0000 (Mon, 29 Feb 2016)
Log Message:
-----------
update after edit line in table

Modified Paths:
--------------
    trunk/phpgwapi/js/jquery/common.js
    trunk/rental/js/rental/contract.edit.js

Modified: trunk/phpgwapi/js/jquery/common.js
===================================================================
--- trunk/phpgwapi/js/jquery/common.js  2016-02-28 15:00:20 UTC (rev 14780)
+++ trunk/phpgwapi/js/jquery/common.js  2016-02-29 13:35:16 UTC (rev 14781)
@@ -373,6 +373,14 @@
                                        fnOnEdited: function (status, 
sOldValue, sNewCellDisplayValue, aPos0, aPos1, aPos2)
                                        {
                                                
//document.getElementById("message").innerHTML += '<br/>' + status;
+                                               try
+                                               {
+                                                       
window['local_OnEditedCallback_' + container.replace('-', '_')](oTable);
+                                               }
+                                               catch (err)
+                                               {
+                                                       //nothing
+                                               }
                                        },
                                        oUpdateParameters: {
                                                "id": function ()

Modified: trunk/rental/js/rental/contract.edit.js
===================================================================
--- trunk/rental/js/rental/contract.edit.js     2016-02-28 15:00:20 UTC (rev 
14780)
+++ trunk/rental/js/rental/contract.edit.js     2016-02-29 13:35:16 UTC (rev 
14781)
@@ -746,4 +746,8 @@
                oTable9.fnDraw();
 
        }, data, 'POST', 'JSON');
-};
\ No newline at end of file
+};
+this.local_OnEditedCallback_datatable_container_5 = function (oTable)
+{
+       oTable0.fnDraw();
+}
\ No newline at end of file




reply via email to

[Prev in Thread] Current Thread [Next in Thread]