Issue with Drag n' Drop functionality in Design Mode
Components
Labels
None
Description
Context Information
None
Additional information (do not use)
None
Attachments
1
- 10 Nov 2009, 12:26 PM
Activity
Show:

Dmitry Andrejev January 12, 2010 at 4:05 AM
Closing completed tasks.

Alex November 10, 2009 at 12:27 PM
Test. Already commited.

Alex November 10, 2009 at 12:27 PM
Fix committed to [b]5.0.x branch/b. Commit Message:
Fixes #0000408: Issue with Drag n' Drop functionality in Design Mode
Fixed
Details
Details
Priority
Assignee

Reporter

Patch Instructions
Patches must be submitted through Phabricator.
To submit patch via Command Line use Patches Workflow (via Arcanist) tutorial.
To submit patch via Web Interface use Patches Workflow (via Web Interface) tutorial.
External issue ID
408
External issue URL
Fix versions
Affects versions
Created October 27, 2009 at 3:29 AM
Updated December 29, 2024 at 9:23 PM
Resolved January 12, 2010 at 4:05 AM
When moving movable elements in Design Mode and there is some DIV element outside of <div class="movable-area"> system will eat the closing </div> of that outer div (in sample below it's <div class="column-right"> )
Example attached
NOTE: this is a new "default" theme
BEFORE Moving and Saving
========================
<inp2:m_DefineElement name="sidebar">
<div class="column-right">
<div class="movable-area">
<div class="movable-element">
<inp2:m_RenderElement design="side_box" type="block-news">
<inp2:m_Capture to_var="header">
<img src="<inp2:m_TemplatesBase />img/news_ttl.gif" width="68" height="14" alt="News" />
</inp2:m_Capture>
<inp2:st_ContentBlock num="5"/>
</inp2:m_RenderElement>
</div>
<div class="movable-element">
<inp2:m_RenderElement design="side_box" type="block-promo">
<inp2:m_Capture to_var="header">
<img src="<inp2:m_TemplatesBase />img/promo_ttl.gif" width="136" height="20" alt="Promotion" />
</inp2:m_Capture>
<inp2:st_ContentBlock num="6"/>
</inp2:m_RenderElement>
</div>
</div>
</div>
</inp2:m_DefineElement>
AFTER Elements moved around
===========================
<inp2:m_DefineElement name="sidebar">
<div class="column-right">
<div class="movable-area">
<div class="movable-element">
<inp2:m_RenderElement design="side_box" type="block-promo">
<inp2:m_Capture to_var="header">
<img src="<inp2:m_TemplatesBase />img/promo_ttl.gif" width="136" height="20" alt="Promotion" />
</inp2:m_Capture>
<inp2:st_ContentBlock num="6"/>
</inp2:m_RenderElement>
</div>
<div class="movable-element">
<inp2:m_RenderElement design="side_box" type="block-news">
<inp2:m_Capture to_var="header">
<img src="<inp2:m_TemplatesBase />img/news_ttl.gif" width="68" height="14" alt="News" />
</inp2:m_Capture>
<inp2:st_ContentBlock num="5"/>
</inp2:m_RenderElement>
</div>
</div>
</inp2:m_DefineElement>