fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [15491]


From: saul . huanay
Subject: [Fmsystem-commits] [15491]
Date: Fri, 19 Aug 2016 00:33:26 +0000 (UTC)

Revision: 15491
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15491
Author:   psaul
Date:     2016-08-19 00:33:26 +0000 (Fri, 19 Aug 2016)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind-2/phpgwapi/js/jquery/common.js

Modified: branches/dev-syncromind-2/phpgwapi/js/jquery/common.js
===================================================================
--- branches/dev-syncromind-2/phpgwapi/js/jquery/common.js      2016-08-18 
11:53:36 UTC (rev 15490)
+++ branches/dev-syncromind-2/phpgwapi/js/jquery/common.js      2016-08-19 
00:33:26 UTC (rev 15491)
@@ -1296,6 +1296,8 @@
        });
        tableHead.appendChild(tableHeadTr);
        xtable.appendChild(tableHead);
+    
+    var key = c[0].key;
 
        var tableBody = document.createElement('tbody');
        var tableBodyTr = document.createElement('tr');
@@ -1349,7 +1351,7 @@
                                {
                                        var k = vc.key;
                                        var colorCell = "";
-                                       var tableBodyTrTdType = (k == "time") ? 
"th" : "td";
+                                       var tableBodyTrTdType = (k == key) ? 
"th" : "td";
 
                                        var tableBodyTrTd = 
document.createElement(tableBodyTrTdType);
 
@@ -1450,7 +1452,7 @@
                                        {
                                                tableBodyTrTdText = (vd[k]) ? 
vd[k] : "";
                                        }
-                                       if (k == "time")
+                                       if (k == key)
                                        {
                                                borderTop = (vd[k]) ? "2" : "1";
                                        }




reply via email to

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