Changeset a2dc66


Ignore:
Timestamp:
Mar 24, 2012, 6:43:45 PM (10 years ago)
Author:
rene <rene@…>
Branches:
ng_0.9
Children:
ab25fc
Parents:
4c2792
Message:

awOnBLur was not triggered, fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • content/vI_storage.js

    r4c2792 ra2dc66  
    7171    awOnBlur : function (element) {
    7272        // only react on events triggered by addressCol2 - textinput Elements
    73         if (!element || ! element.id.match(/^addressCol2*/)) return;
     73        if (!element || ! element.id.match(/^addressCol2*/)) {
     74          Log.debug("awOnBlur '" + element.id + "' not matching /^addressCol2*/");
     75          return;
     76        }
    7477        Log.debug("awOnBlur '" + element.id + "'");
    7578        storage.updateVIdentityFromStorage(element);
     
    104107                    var oldBlur = input.getAttribute("onblur")
    105108                    input.setAttribute("onblur", (oldBlur?oldBlur+"; ":"") +
    106                         "window.setTimeout(virtualIdentityExtension.storage.awOnBlur, 250, this.parentNode.parentNode.parentNode);")
     109                        "window.setTimeout(virtualIdentityExtension.storage.awOnBlur, 250, this);")
    107110                    var oldFocus = input.getAttribute("onfocus")
    108111                    input.setAttribute("onfocus", (oldFocus?oldFocus+"; ":"") +
    109                         "window.setTimeout(virtualIdentityExtension.storage.awOnFocus, 250, this.parentNode.parentNode.parentNode);")
     112                        "window.setTimeout(virtualIdentityExtension.storage.awOnFocus, 250, this);")
    110113                }
    111114                var popup = awGetPopupElement(row);
Note: See TracChangeset for help on using the changeset viewer.