fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [13664]


From: Nelson Guerra
Subject: [Fmsystem-commits] [13664]
Date: Tue, 14 Jul 2015 23:13:43 +0000

Revision: 13664
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13664
Author:   nelson224
Date:     2015-07-14 23:13:43 +0000 (Tue, 14 Jul 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-07-14 
23:13:41 UTC (rev 13663)
+++ branches/dev-syncromind/rental/js/rental/composite.edit.js  2015-07-14 
23:13:43 UTC (rev 13664)
@@ -1,7 +1,19 @@
 
+       $(document).ready(function () 
+       {
+               $('#type_id').change( function() 
+               {
+                       filterData('type_id', $(this).val());
+               });
 
-function onFilterLocations()
-{
-       //oTable.dataTableSettings[0]['ajax']['data'][param] = value;
-       oTable1.fnDraw();
-}
+               $('#search_option').change( function() 
+               {
+                       filterData('search_option', $(this).val());
+               });
+       });
+
+       function filterData(param, value)
+       {
+               oTable1.dataTableSettings[1]['ajax']['data'][param] = value;
+               oTable1.fnDraw();
+       }
\ No newline at end of file




reply via email to

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