fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [13354]


From: Nelson Guerra
Subject: [Fmsystem-commits] [13354]
Date: Thu, 04 Jun 2015 22:16:29 +0000

Revision: 13354
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13354
Author:   nelson224
Date:     2015-06-04 22:16:28 +0000 (Thu, 04 Jun 2015)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind/property/js/portico/event.index.js

Modified: branches/dev-syncromind/property/js/portico/event.index.js
===================================================================
--- branches/dev-syncromind/property/js/portico/event.index.js  2015-06-04 
20:31:38 UTC (rev 13353)
+++ branches/dev-syncromind/property/js/portico/event.index.js  2015-06-04 
22:16:28 UTC (rev 13354)
@@ -31,7 +31,22 @@
             dataType: 'json',
             url: ""+ sUrl_agreement +"&phpgw_return_as=json",
             data:{ids:ids,mckec:mckec},
-            success: function(data) {
+            success: function(result) {
+                               document.getElementById("message").innerHTML = 
'';
+
+                               if (typeof(result.message) !== 'undefined')
+                               {
+                                       $.each(result.message, function (k, v) {
+                                               
document.getElementById("message").innerHTML += v.msg + "<br/>";
+                                       });
+                               }
+
+                               if (typeof(result.error) !== 'undefined')
+                               {
+                                       $.each(result.error, function (k, v) {
+                                               
document.getElementById("message").innerHTML += v.msg + "<br/>";
+                                       });
+                               }
                 oTable.fnDraw();
             }
     });




reply via email to

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