Details
-
Task
-
Resolution: Unresolved
-
Medium
-
None
-
5.1, 2013.07, 5.2, 2013.09
-
Google chrome Version 31.0.1650.63
Description
in editor , when i have few embedded objects which goes one by one and try to delete first one, the second is deleted too. To fix this key stuck should be increased (50ms now, 150 has to be)
suggested patch:
https://github.com/ezsystems/ezpublish-legacy/blob/master/extension/ezoe/design/standard/javascript/themes/ez/editor_template.js#L2067
// Avoid that several embed tags are removed at once if they are placed side by side
if ( !this.__recursion )
{
this.__recursion = true;
n.parentNode.removeChild( n );
– setTimeout(BIND( function()
++ setTimeout(BIND( function(){ this.__recursion = false; }
, this ), 150);
ed.nodeChanged();
}