Changeset 0a4746


Ignore:
Timestamp:
Jan 26, 2015, 12:26:20 PM (7 years ago)
Author:
rene <rene@…>
Branches:
ng_0.9
Children:
d7c9a6
Parents:
3afa32
Message:

oncommand-trigger is sometimes blocked by other extension, prioritze my one

File:
1 edited

Legend:

Unmodified
Added
Removed
  • content/vI_storage.js

    r3afa32 r0a4746  
    8989      awOnFocus: function (element, currentWindow) {
    9090        if (!element || !element.id.match(/^addressCol2*/)) return;
     91        Log.debug("awOnFocus '" + element.id);
    9192        storage.focusedElement = element;
    9293      },
     
    128129            if (popup) {
    129130              var oldCommand = popup.getAttribute("oncommand")
    130               popup.setAttribute("oncommand", (oldCommand ? oldCommand + "; " : "") +
    131                 "window.setTimeout(virtualIdentityExtension.main.storage.awPopupOnCommand, 250, this, window);")
     131              popup.setAttribute("oncommand",
     132                "window.setTimeout(virtualIdentityExtension.main.storage.awPopupOnCommand, 250, this, window);" +
     133                (oldCommand ? "; " + oldCommand : ""))
    132134            }
    133135          }
Note: See TracChangeset for help on using the changeset viewer.