Revision: 2234
          http://mrbs.svn.sourceforge.net/mrbs/?rev=2234&view=rev
Author:   cimorrison
Date:     2012-01-04 18:51:03 +0000 (Wed, 04 Jan 2012)
Log Message:
-----------
Fixed bug where clicking on the "+" symbol didn't take you to the edit_entry 
form.

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-01 22:39:32 UTC (rev 
2233)
+++ mrbs/trunk/web/Themes/default/header.inc    2012-01-04 18:51:03 UTC (rev 
2234)
@@ -1808,6 +1808,11 @@
             <?php // Apply a wrapper to turn off highlighting ?>
             table.wrap('<div class="resizing"><\/div>');
             var jqTarget = $(e.target);
+            <?php // If we've landed on the + symbol we want the parent ?>
+            if (e.target.nodeName.toLowerCase() == "img")
+            {
+              jqTarget = jqTarget.parent();
+            }
             downHandler.origin = jqTarget.offset();
             downHandler.firstPosition = {x: e.pageX, y: e.pageY};
             <?php

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