What is the purpose of the In Place editor removing the last panel-separator on line 335 of panels_ipe.js?
It doesn't seem to throw anything off when keeping the last separator in, but causes things to look odd when it is removed in certain cases. I wanted to see if there was a valid reason for it being in place before creating a patch to get rid of the line of code.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | panels-dont_delete_last_panelseperator-1918716-2.patch | 494 bytes | Elvar |
Comments
Comment #1
Elvar commentedI second this, also its making the IPE view inconsistent with a normal view, as the last panel-seperator is not removed when IPE is not active. I've added a patch.
Comment #2
Elvar commentedComment #3
d.clarke commentedI agree. This is causing headaches for us as well for the same reason (inconsistent output between the admin view and anonymous view). It appears this was part of the commit "Implement pane and region locking." (3fd5849), but I don't understand why removing this div is required for the locking functionality.
The patch in the first comment works in my testing.
Comment #4
chertzog#1 works for me as well.
Comment #5
japerryFixed!
http://drupalcode.org/project/panels.git/commit/3ea0757