Revision: 2246
http://mrbs.svn.sourceforge.net/mrbs/?rev=2246&view=rev
Author: cimorrison
Date: 2012-01-12 11:37:26 +0000 (Thu, 12 Jan 2012)
Log Message:
-----------
Fixed JavaScript error when there are no rooms defined in an area in the day
and week views
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-11 18:36:20 UTC (rev
2245)
+++ mrbs/trunk/web/Themes/default/header.inc 2012-01-12 11:37:26 UTC (rev
2246)
@@ -1501,7 +1501,8 @@
// that we can compare them properly. It is simplest to use zero
and put any
// padding required on the contained element.
?>
- var rtl = (table.css('direction').toLowerCase() == 'rtl');
+ var rtl = ((table.css('direction') !== undefined) &&
+ table.css('direction').toLowerCase() == 'rtl');
tableData.x = {};
tableData.x.data = [];
<?php // We need :visible because there might be hidden days // ?>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits