Bug 1180471 - Error dialog doesn't get prompted;r+a=philipp
authorMakeMyDay <makemyday@gmx-topmail.de>
Sun, 05 Jul 2015 22:13:25 +0200
changeset 22836 a74ee7be23a748cbca9488ca43a0fc2a948cd487
parent 22835 89a926b8c66f0894652a64bac298f8534b23edbd
child 22837 093d47752c1c7f923de602d55623faba346d99bd
push idunknown
push userunknown
push dateunknown
bugs1180471
Bug 1180471 - Error dialog doesn't get prompted;r+a=philipp
calendar/base/src/calCalendarManager.js
--- a/calendar/base/src/calCalendarManager.js
+++ b/calendar/base/src/calCalendarManager.js
@@ -993,18 +993,17 @@ calMgrCalendarObserver.prototype = {
 
         // Will remove paramBlock from announced messages when promptWindow is
         // closed.  (Closing fires unloaded event, but promptWindow is also
         // unloaded [to clean it?] before loading, so wait for detected load
         // event before detecting unload event that signifies user closed this
         // prompt window.)
         let promptUrl = "chrome://calendar/content/calendar-error-prompt.xul";
         let features = "chrome,dialog=yes,alwaysRaised=yes";
-        let promptWindow =  Services.ww.openWindow(null, url, "_blank",
-                                                   features, paramBlock);
+        let promptWindow =  Services.ww.openWindow(null, promptUrl, "_blank", features, paramBlock);
         promptWindow.addEventListener("load", awaitLoad, false);
     }
 };
 
 function calDummyCalendar(type) {
     this.initProviderBase();
     this.type = type;
 }