fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [16472] rental: fix filter


From: sigurdne
Subject: [Fmsystem-commits] [16472] rental: fix filter
Date: Thu, 23 Mar 2017 14:23:48 -0400 (EDT)

Revision: 16472
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16472
Author:   sigurdne
Date:     2017-03-23 14:23:48 -0400 (Thu, 23 Mar 2017)
Log Message:
-----------
rental: fix filter

Modified Paths:
--------------
    trunk/rental/js/rental/composite.edit.js
    trunk/rental/js/rental/composite.view.js

Modified: trunk/rental/js/rental/composite.edit.js
===================================================================
--- trunk/rental/js/rental/composite.edit.js    2017-03-23 14:36:39 UTC (rev 
16471)
+++ trunk/rental/js/rental/composite.edit.js    2017-03-23 18:23:48 UTC (rev 
16472)
@@ -75,19 +75,22 @@
 
 function filterDataLocations(param, value)
 {
-       oTable1.dataTableSettings[1]['ajax']['data'][param] = value;
+//     oTable1.dataTableSettings[1]['ajax']['data'][param] = value;
+       paramsTable1[param] = value;
        oTable1.fnDraw();
 }
 
 function filterDataContracts(param, value)
 {
-       oTable2.dataTableSettings[2]['ajax']['data'][param] = value;
+//     oTable2.dataTableSettings[2]['ajax']['data'][param] = value;
+       paramsTable2[param] = value;
        oTable2.fnDraw();
 }
 
 function filterDataApplications(param, value)
 {
-       oTable3.dataTableSettings[3]['ajax']['data'][param] = value;
+//     oTable3.dataTableSettings[3]['ajax']['data'][param] = value;
+       paramsTable3[param] = value;
        oTable3.fnDraw();
 }
 

Modified: trunk/rental/js/rental/composite.view.js
===================================================================
--- trunk/rental/js/rental/composite.view.js    2017-03-23 14:36:39 UTC (rev 
16471)
+++ trunk/rental/js/rental/composite.view.js    2017-03-23 18:23:48 UTC (rev 
16472)
@@ -54,13 +54,15 @@
 
 function filterDataContracts(param, value)
 {
-       oTable1.dataTableSettings[1]['ajax']['data'][param] = value;
+//     oTable1.dataTableSettings[1]['ajax']['data'][param] = value;
+       paramsTable1[param] = value;
        oTable1.fnDraw();
 }
 
 function filterDataApplications(param, value)
 {
-       oTable2.dataTableSettings[2]['ajax']['data'][param] = value;
+//     oTable2.dataTableSettings[2]['ajax']['data'][param] = value;
+       paramsTable2[param] = value;
        oTable2.fnDraw();
 }
 




reply via email to

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