This is just some static backup of the original site, don't expect every link to work!

Changeset ece8db


Ignore:
Timestamp:
Nov 7, 2012, 9:02:02 PM (10 years ago)
Author:
rene <rene@…>
Branches:
ng_0.9
Children:
8aa4c2
Parents:
54b107
Message:

backup for sometimes missing functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • content/vI_storage.js

    r54b107 rece8db  
    9090    },
    9191   
     92  awGetPopupElement : function (row) {
     93    if (typeof awGetPopupElement === 'function')
     94      return awGetPopupElement(row);
     95    return document.getElementById("addressCol1#" + row);
     96  },
     97
     98  awGetInputElement : function (row) {
     99    if (typeof awGetInputElement === 'function')
     100      return awGetInputElement(row);
     101    return document.getElementById("addressCol2#" + row);
     102  },
     103
    92104    initialized : null,
    93105    init: function() {
     
    100112            if (!top.MAX_RECIPIENTS || top.MAX_RECIPIENTS == 0) top.MAX_RECIPIENTS = 1;
    101113            for (var row = 1; row <= top.MAX_RECIPIENTS ; row ++) {
    102                 var input = awGetInputElement(row);
     114                var input = storage.awGetInputElement(row);
    103115                if (input) {
    104116                    var oldBlur = input.getAttribute("onblur")
     
    109121                        "window.setTimeout(virtualIdentityExtension.storage.awOnFocus, 250, this);")
    110122                }
    111                 var popup = awGetPopupElement(row);
     123                var popup = storage.awGetPopupElement(row);
    112124                if (popup) {
    113125                    var oldCommand = popup.getAttribute("oncommand")
Note: See TracChangeset for help on using the changeset viewer.