fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [15182]


From: nelson . guerra
Subject: [Fmsystem-commits] [15182]
Date: Thu, 19 May 2016 23:59:20 +0000 (UTC)

Revision: 15182
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15182
Author:   nelson224
Date:     2016-05-19 23:59:20 +0000 (Thu, 19 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-19 23:59:05 UTC (rev 15181)
+++ branches/dev-syncromind-2/property/js/portico/generic_document.edit.js      
2016-05-19 23:59:20 UTC (rev 15182)
@@ -20,7 +20,7 @@
        
        $('#location_id').change(function ()
        {
-               var oArgs1 = {menuaction: 
'property.uigeneric_document.get_relations', location_id: 
$('#location_id').val(), id: $('#id').val()};
+               var oArgs1 = {menuaction: 
'property.uigeneric_document.get_componentes', location_id: 
$('#location_id').val(), id: $('#id').val()};
                var requestUrl = phpGWLink('index.php', oArgs1, true);
                JqueryPortico.updateinlineTableHelper(oTable0, requestUrl);
        });
@@ -50,7 +50,7 @@
 
        $('select#district_id').change( function()
        {
-               filterData({'district_id': $(this).val()});
+               filterData({'district_id': $(this).val(), 'part_of_town_id': 
''});
                
                var oArgs1 = {menuaction: 
'property.uigeneric_document.get_part_of_town'};
                var requestUrl = phpGWLink('index.php', oArgs1, true);          
@@ -70,6 +70,8 @@
        {
                filterData({'part_of_town_id': $(this).val()});                 
        
        });
+       
+       $('select#part_of_town_id').prop('selectedIndex', 0);
 });
 
 function filterData(objParams)
@@ -101,6 +103,9 @@
        var data = {"items": values};
        JqueryPortico.execute_ajax(requestUrl, function (result)
        {
+               JqueryPortico.show_message(0, result);
+               oTable0.fnDraw();
+               
        }, data, "POST", "JSON");
 }
 
@@ -124,6 +129,9 @@
        var data = {"items": values};
        JqueryPortico.execute_ajax(requestUrl, function (result)
        {
+               JqueryPortico.show_message(1, result);
+               oTable1.fnDraw();
+               
        }, data, "POST", "JSON");
 }
 




reply via email to

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