Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-22142

ezoe. few items are deleted in online editor when click del key

    XMLWordPrintable

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Medium 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()

      { this.__recursion = false; }, this ), 50);
      ++ setTimeout(BIND( function(){ this.__recursion = false; }

      , this ), 150);
      ed.nodeChanged();
      }

      Attachments

        Activity

          People

            Unassigned Unassigned
            vinin vinin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: