Changeset dcfdfa


Ignore:
Timestamp:
Feb 11, 2015, 5:42:39 PM (7 years ago)
Author:
rene <rene@…>
Branches:
ng_0.9
Children:
290dde
Parents:
168703
Message:

alert always requires a related window

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/vI_account.js

    r168703 rdcfdfa  
    334334  createAccount: function (identityData, baseIdentity) {
    335335    if (account._account) { // if the Account is still created, then leave all like it is
    336       alert("account still created, shouldn't happen");
     336      var mailWindow = Cc["@mozilla.org/appshell/window-mediator;1"].getService()
     337        .QueryInterface(Ci.nsIWindowMediator)
     338        .getMostRecentWindow("mail:3pane");
     339      mailWindow.alert("account already created, shouldn't happen");
    337340      return;
    338341    }
Note: See TracChangeset for help on using the changeset viewer.