Changeset 32b456


Ignore:
Timestamp:
Jan 29, 2015, 9:50:09 AM (7 years ago)
Author:
rene <rene@…>
Branches:
ng_0.9
Children:
8a4402
Parents:
930e86
Message:

prevent error on field-detection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • content/vI_storage.js

    r930e86 r32b456  
    167167        }
    168168        var currentDocument = currentWindow.document;
    169         var recipientType = inputElement.parentNode.previousSibling.firstChild.selectedItem.getAttribute("value");
     169        try {
     170          var recipientType = inputElement.parentNode.previousSibling.firstChild.selectedItem.getAttribute("value");
     171        } catch (e) {
     172          Log.debug("inputElement.parentNode.previousSibling.firstChild.selectedItem.getAttribute('value') raised an error")
     173          return;
     174        }
    170175
    171176        var row = inputElement.id.replace(/^addressCol2#/, "")
Note: See TracChangeset for help on using the changeset viewer.