fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [12950]


From: Nelson Guerra
Subject: [Fmsystem-commits] [12950]
Date: Mon, 06 Apr 2015 22:51:58 +0000

Revision: 12950
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12950
Author:   nelson224
Date:     2015-04-06 22:51:58 +0000 (Mon, 06 Apr 2015)
Log Message:
-----------


Added Paths:
-----------
    branches/dev-syncromind/property/js/portico/budget.index.js

Added: branches/dev-syncromind/property/js/portico/budget.index.js
===================================================================
--- branches/dev-syncromind/property/js/portico/budget.index.js                 
        (rev 0)
+++ branches/dev-syncromind/property/js/portico/budget.index.js 2015-04-06 
22:51:58 UTC (rev 12950)
@@ -0,0 +1,19 @@
+var addFooterDatatable2 = function (nRow, aaData, iStart, iEnd, aiDisplay, 
oTable) 
+{
+       var api = oTable.api();
+       var data = api.ajax.json();
+       var nCells = nRow.getElementsByTagName('th');
+       
+       for(i=0;i < JqueryPortico.columns.length;i++)
+       {
+               switch (JqueryPortico.columns[i]['data']) 
+               {
+                       case 'budget_cost':
+                               if (typeof(nCells[i]) !== 'undefined') 
+                               {
+                                       nCells[i].innerHTML = data.sum_budget;
+                               }
+                               break;
+               }
+       }
+};
\ No newline at end of file




reply via email to

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