fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [13948]


From: Nelson Guerra
Subject: [Fmsystem-commits] [13948]
Date: Wed, 16 Sep 2015 23:13:57 +0000

Revision: 13948
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13948
Author:   nelson224
Date:     2015-09-16 23:13:57 +0000 (Wed, 16 Sep 2015)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind/rental/js/rental/composite.edit.js

Modified: branches/dev-syncromind/rental/js/rental/composite.edit.js
===================================================================
--- branches/dev-syncromind/rental/js/rental/composite.edit.js  2015-09-16 
23:10:37 UTC (rev 13947)
+++ branches/dev-syncromind/rental/js/rental/composite.edit.js  2015-09-16 
23:13:57 UTC (rev 13948)
@@ -88,14 +88,14 @@
                {
                        return false;
                }
+               
+               oArgs['search_option'] = $('#contracts_search_options').val();
+               oArgs['search'] = $('#contracts_query').val();
+               oArgs['contract_type'] = $('#contract_type').val();
+               oArgs['contract_status'] = $('#contract_status').val();
 
                var requestUrl = phpGWLink('index.php', oArgs);
 
-               requestUrl += '&search_option=' + 
$('#contracts_search_options').val();
-               requestUrl += '&search=' + $('#contracts_query').val();
-               requestUrl += '&contract_type=' + $('#contract_type').val();
-               requestUrl += '&contract_status=' + $('#contract_status').val();
-
                window.open(requestUrl,'_self');
        };
        
@@ -130,9 +130,8 @@
                }
 
                var data = getRequestData(selected, parameters);
+               oArgs['level'] = document.getElementById('type_id').value;
                var requestUrl = phpGWLink('index.php', oArgs);
-               var level = document.getElementById('type_id').value;
-               requestUrl += '&level=' + level;
                
                JqueryPortico.execute_ajax(requestUrl, function(result){
 
@@ -163,7 +162,6 @@
                        JqueryPortico.show_message(nTable, result);
 
                        oTable0.fnDraw();
-                       oTable1.fnDraw();
 
                }, data, 'POST', 'JSON');
        };
\ No newline at end of file




reply via email to

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