Revision: 2238
          http://mrbs.svn.sourceforge.net/mrbs/?rev=2238&view=rev
Author:   cimorrison
Date:     2012-01-06 10:36:23 +0000 (Fri, 06 Jan 2012)
Log Message:
-----------
Fix for bug which prevented resizable bookings or clicking on empty cells 
working in the week view when using $hidden_days

Modified Paths:
--------------
    mrbs/trunk/web/Themes/default/header.inc

Modified: mrbs/trunk/web/Themes/default/header.inc
===================================================================
--- mrbs/trunk/web/Themes/default/header.inc    2012-01-05 19:35:07 UTC (rev 
2237)
+++ mrbs/trunk/web/Themes/default/header.inc    2012-01-06 10:36:23 UTC (rev 
2238)
@@ -1504,7 +1504,8 @@
           var rtl = (table.css('direction').toLowerCase() == 'rtl');
           tableData.x = {};
           tableData.x.data = [];
-          var columns = table.find('thead tr:first-child 
th').not('.first_last');
+          <?php // We need :visible because there might be hidden days // ?>
+          var columns = table.find('thead tr:first-child 
th:visible').not('.first_last');
           <?php
           // If the table has direction rtl, as it may do if you're using a 
RTL language
           // such as Hebrew, then the columns will have been presented in the 
order right

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to