fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [14980]


From: Nelson Guerra
Subject: [Fmsystem-commits] [14980]
Date: Sat, 07 May 2016 00:42:43 +0000

Revision: 14980
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14980
Author:   nelson224
Date:     2016-05-07 00:42:42 +0000 (Sat, 07 May 2016)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind-2/property/js/portico/generic_document.edit.js

Modified: branches/dev-syncromind-2/property/js/portico/generic_document.edit.js
===================================================================
--- branches/dev-syncromind-2/property/js/portico/generic_document.edit.js      
2016-05-06 08:10:13 UTC (rev 14979)
+++ branches/dev-syncromind-2/property/js/portico/generic_document.edit.js      
2016-05-07 00:42:42 UTC (rev 14980)
@@ -8,4 +8,27 @@
                JqueryPortico.updateinlineTableHelper(oTable0, requestUrl);
        });
 
-});
\ No newline at end of file
+});
+
+function setRelations(oArgs)
+{
+       var values = {};
+       
+       var select_check = $('.select_check');
+       select_check.each(function (i, obj)
+       {
+               if (obj.checked)
+               {
+                       values[obj.value] = obj.value;
+               }
+       });
+       
+       oArgs['location_id'] = $('#location_id').val();
+       oArgs['file_id'] = $('#id').val();
+       var requestUrl = phpGWLink('index.php', oArgs);
+
+       var data = {"items": values};
+       JqueryPortico.execute_ajax(requestUrl, function (result)
+       {
+       }, data, "POST", "JSON");
+}
\ No newline at end of file




reply via email to

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