Changeset 89e606


Ignore:
Timestamp:
Mar 19, 2008, 4:50:26 AM (14 years ago)
Author:
rene <rene@…>
Branches:
master
Children:
324912
Parents:
4ee71e
Message:

ugly fix for missing Obj_storageSave

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chrome/content/v_identity/vI_storage.js

    r4ee71e r89e606  
    209209    storeVIdentityToAllRecipients : function(msgType) {
    210210        if (msgType != nsIMsgCompDeliverMode.Now) return;
     211        if (!vI_storage.elements.Obj_storageSave) {
     212            // ugly temp. fix for https://www.absorb.it/virtual-id/ticket/44
     213            vI_notificationBar.dump("## vI_storage: Obj_storageSave doesn't exist, shouldn't happen")
     214            vI_storage.elements.Obj_storageSave = document.getElementById("storage_save");
     215        }
    211216        if (vI_storage.elements.Obj_storageSave.getAttribute("hidden") == "false" ) {
    212217            vI_notificationBar.dump("## vI_storage: switch shown.\n")
Note: See TracChangeset for help on using the changeset viewer.