fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [12473]


From: Nelson Guerra
Subject: [Fmsystem-commits] [12473]
Date: Tue, 16 Dec 2014 23:21:50 +0000

Revision: 12473
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12473
Author:   nelson224
Date:     2014-12-16 23:21:49 +0000 (Tue, 16 Dec 2014)
Log Message:
-----------


Modified Paths:
--------------
    
branches/dev-syncromind/property/templates/base/condition_survey_summation.xsl

Modified: 
branches/dev-syncromind/property/templates/base/condition_survey_summation.xsl
===================================================================
--- 
branches/dev-syncromind/property/templates/base/condition_survey_summation.xsl  
    2014-12-16 23:21:26 UTC (rev 12472)
+++ 
branches/dev-syncromind/property/templates/base/condition_survey_summation.xsl  
    2014-12-16 23:21:49 UTC (rev 12473)
@@ -110,7 +110,6 @@
                </tfoot>
        </table>
        <script>
-               var oTable = null;
                var PreColumns = [
                                <xsl:for-each select="$ColumnDefs">
                                {
@@ -160,17 +159,19 @@
                                        }
                                }
                ]]>
-
-               JqueryPortico.inlineTableHelper("<xsl:value-of 
select="$container"/>", <xsl:value-of select="$requestUrl"/>, columns);
                
+               var options = {disableFilter:true};
+               var oTable = JqueryPortico.inlineTableHelper("<xsl:value-of 
select="$container"/>", <xsl:value-of select="$requestUrl"/>, columns, options);
+               
                $(document).ready(function ()
                {               
-                       oTable.on( 'draw', sum_columns );
+                       var api = oTable.api();
+                       api.on( 'draw', sum_columns );
                });
 
                function sum_columns()
                {
-                       var api = oTable;
+                       var api = oTable.api();
                        // Remove the formatting to get integer data for 
summation
                        var intVal = function ( i ) {
                                return typeof i === 'string' ?




reply via email to

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