Changeset 081ae7


Ignore:
Timestamp:
Feb 17, 2015, 12:08:08 PM (7 years ago)
Author:
rene <rene@…>
Branches:
ng_0.9
Children:
db36f4
Parents:
290dde
Message:

made test more robust

File:
1 edited

Legend:

Unmodified
Added
Removed
  • content/vI_storage.js

    r290dde r081ae7  
    7878        if (!element || !element.id.match(/^addressCol2*/)) return;
    7979        Log.debug("awOnBlur '" + element.id);
    80         if (typeof element.value == 'undefined') {
     80        if (!element.value || typeof element.value == 'undefined') {
    8181          element.value = element.getAttribute("value");
    8282          Log.debug("awOnBlur second try'" + element.id + "' '" + element.value + "'");
    8383        }
    84         if (element.value == "" || typeof element.value == 'undefined') return;
     84        if (!element.value || element.value == "" || typeof element.value == 'undefined') return;
    8585        storage.__updateVIdentityFromStorage(element, currentWindow);
    8686        storage.focusedElement = null;
Note: See TracChangeset for help on using the changeset viewer.