In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
408 [In-Portal CMS] Admin Interfaces bug report always 2009-10-26 22:29 2010-01-11 22:05
Dmitry  
alex  
critical  
closed 5.0.2-B1  
fixed  
 
none 5.0.2-B1  
0
0000408: Issue with Drag n' Drop functionality in Design Mode
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>
patch drag_n_drop_save_problem.patch (1,504) 2009-11-10 06:26
http://tracker.in-portal.org/file_download.php?file_id=140&type=bug
Issue History
2010-01-11 22:05 Dmitry Note Added: 0001332
2010-01-11 22:05 Dmitry Status resolved => closed
2009-11-10 06:27 alex Note Added: 0001072
2009-11-10 06:27 alex Note Added: 0001071
2009-11-10 06:27 alex Status needs testing => resolved
2009-11-10 06:27 alex Fixed in Version => 5.0.2-B1
2009-11-10 06:27 alex Resolution open => fixed
2009-11-10 06:27 alex Assigned To !COMMUNITY => alex
2009-11-10 06:27 alex Changeset attached 5.0.x r12893
2009-11-10 06:26 alex Assigned To alex => !COMMUNITY
2009-11-10 06:26 alex Status needs work => needs testing
2009-11-10 06:26 alex File Added: drag_n_drop_save_problem.patch
2009-10-26 22:30 Dmitry Priority normal => critical
2009-10-26 22:29 Dmitry New Issue
2009-10-26 22:29 Dmitry Status active => needs work
2009-10-26 22:29 Dmitry Assigned To => alex

Notes
(0001071)
alex   
2009-11-10 06:27   
Fix committed to 5.0.x branch. Commit Message:

Fixes 0000408: Issue with Drag n' Drop functionality in Design Mode
(0001072)
alex   
2009-11-10 06:27   
Reminder sent to: Dmitry

Test. Already commited.
(0001332)
Dmitry   
2010-01-11 22:05   
Closing completed tasks.