Revision: 2136
          http://mrbs.svn.sourceforge.net/mrbs/?rev=2136&view=rev
Author:   cimorrison
Date:     2011-10-20 16:19:03 +0000 (Thu, 20 Oct 2011)
Log Message:
-----------
Fixed bug where clicking on the 1px wide boundary between cells resulted in a 
404 error

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

Modified: mrbs/branches/draggable_bookings/web/Themes/default/header.inc
===================================================================
--- mrbs/branches/draggable_bookings/web/Themes/default/header.inc      
2011-10-20 15:31:16 UTC (rev 2135)
+++ mrbs/branches/draggable_bookings/web/Themes/default/header.inc      
2011-10-20 16:19:03 UTC (rev 2136)
@@ -1795,7 +1795,7 @@
             ?>
             if (outsideTable({x: e.pageX, y: e.pageY}))
             {
-              box.remove();
+              
               return;
             }
             <?php
@@ -1807,7 +1807,14 @@
             else if ((Math.abs(e.pageX - downHandler.firstPosition.x) <= 
tolerance) &&
                      (Math.abs(e.pageY - downHandler.firstPosition.y) <= 
tolerance))
             {
-              window.location = downHandler.originalLink;
+              if (downHandler.originalLink !== undefined)
+              {
+                window.location = downHandler.originalLink;
+              }
+              else
+              {
+                box.remove();
+              }
               return;
             }
             <?php

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


------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Ciosco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to