fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [14131]


From: Nelson Guerra
Subject: [Fmsystem-commits] [14131]
Date: Wed, 07 Oct 2015 00:25:25 +0000

Revision: 14131
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14131
Author:   nelson224
Date:     2015-10-07 00:25:25 +0000 (Wed, 07 Oct 2015)
Log Message:
-----------


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

Modified: branches/dev-syncromind/phpgwapi/js/jquery/common.js
===================================================================
--- branches/dev-syncromind/phpgwapi/js/jquery/common.js        2015-10-07 
00:25:06 UTC (rev 14130)
+++ branches/dev-syncromind/phpgwapi/js/jquery/common.js        2015-10-07 
00:25:25 UTC (rev 14131)
@@ -788,7 +788,7 @@
 
                     var classes = "";
                     var tableBodyTrTdText = "";
-                    
+                                       
                     if (vc['formatter']) {
                         if (vc['formatter'] == "scheduleResourceColumn"){
                             if (vd[k]) {
@@ -799,7 +799,11 @@
                             if (vd[k]) {
                                 var id = vd[k]['id'];
                                 var name = (vd[k]['shortname']) ? 
formatScheduleShorten(vd[k]['shortname'],9) : 
formatScheduleShorten(vd[k]['name'],9);
-                                var type = vd[k]['type'];
+                                var type = vd[k]['type']; 
+                                if (vc['formatter'] == "seasonDateColumn"){
+                                    tableBodyTrTdText = name;
+                                                                       
tableBodyTrTd.addEventListener('click', 
function(){schedule.newAllocationForm(vd[k]['id'])});
+                                }                                              
        
                                 if (vc['formatter'] == "scheduleDateColumn"){
                                     tableBodyTrTdText = 
formatGenericLink(name, null);
                                 }




reply via email to

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