fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [14160]


From: Nelson Guerra
Subject: [Fmsystem-commits] [14160]
Date: Tue, 13 Oct 2015 00:13:07 +0000

Revision: 14160
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14160
Author:   nelson224
Date:     2015-10-13 00:13:06 +0000 (Tue, 13 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-13 
00:12:50 UTC (rev 14159)
+++ branches/dev-syncromind/phpgwapi/js/jquery/common.js        2015-10-13 
00:13:06 UTC (rev 14160)
@@ -802,7 +802,7 @@
                                 var type = vd[k]['type']; 
                                 if (vc['formatter'] == "seasonDateColumn"){
                                     tableBodyTrTdText = name;
-                                                                       
tableBodyTrTd.addEventListener('click', 
function(){schedule.newAllocationForm(vd[k]['id'])});
+                                                                       
tableBodyTrTd.addEventListener('click', 
function(){schedule.newAllocationForm({'id':vd[k]['id']})});
                                 }                                              
        
                                 if (vc['formatter'] == "scheduleDateColumn"){
                                     tableBodyTrTdText = 
formatGenericLink(name, null);
@@ -834,6 +834,9 @@
                                 if (vc['formatter'] == 
"frontendScheduleDateColumn") {
                                     tableBodyTrTd.addEventListener('dblclick', 
function(){schedule.newApplicationForm(vc['date'],vd['_from'],vd['_to'],tableBodyTr.getAttribute('resource'))});
                                 }
+                                if (vc['formatter'] == "seasonDateColumn") {
+                                    tableBodyTrTd.addEventListener('dblclick', 
function(){schedule.newAllocationForm({'_from':vd['_from'], '_to':vd['_to'], 
'wday':vc['key']})});
+                                }                                              
                
                             }
                         }
                     }else {




reply via email to

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