Changeset 6973


Ignore:
Timestamp:
Oct 6, 2015, 9:10:16 AM (6 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #1956: Deleting an item from the item page doesn't close confirmation popup in IE

The event to send to the main page must be created by the document object on the main page and not by the document object in the popup and the event type should be a CustomEvent.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.6-stable/www/common/close_popup.js

    r6218 r6973  
    5454      if (notifyTarget)
    5555      {
    56         var evt = document.createEvent('Event');
     56        var evt = myOpener.document.createEvent('CustomEvent');
    5757        evt.initEvent('base-notify', false, true);
    5858        notifyTarget.dispatchEvent(evt);
Note: See TracChangeset for help on using the changeset viewer.