Bug 752206 - event dialog is not non-modal anymore. r=mmecca ui-r=paenglab a=philipp
authorAlexandre Demers <alexandre.f.demers@gmail.com>
Tue, 29 May 2012 19:11:15 +0200
changeset 11360 5869020d2976e06b3e48b515235eb69fcc882dd6
parent 11359 8b55eb00518123c0098e92d31f950338ae64b933
child 11361 dfee2c01d8d98070b5ba6f450c1caa0b29a10ae8
push id519
push userssitter@gmail.com
push dateTue, 29 May 2012 17:11:51 +0000
treeherdercomm-beta@5869020d2976 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmmecca, paenglab, philipp
bugs752206
Bug 752206 - event dialog is not non-modal anymore. r=mmecca ui-r=paenglab a=philipp
calendar/base/content/calendar-item-editing.js
--- a/calendar/base/content/calendar-item-editing.js
+++ b/calendar/base/content/calendar-item-editing.js
@@ -359,24 +359,26 @@ function openEventDialog(calendarItem, c
     if (isCalendarWritable(calendar)
         && (mode == "new"
             || (mode == "modify" && !isInvitation && userCanModifyItem((calendarItem))))) {
         url = "chrome://calendar/content/calendar-event-dialog.xul";
     } else {
         url = "chrome://calendar/content/calendar-summary-dialog.xul";
     }
 
+    // reminder: event dialog should not be modal (cf bug 122671)
     var features;
+    // keyword "dependent" should not be used (cf bug 752206)
     if (Services.appinfo.OS == "WINNT") {
-        features = "chrome,titlebar,resizable,dependent";
+        features = "chrome,titlebar,resizable";
     } else if (Services.appinfo.OS == "Darwin") {
         features = "chrome,titlebar,resizable,minimizable=no";
     } else {
         // All other targets, mostly Linux flavors using gnome.
-        features = "chrome,titlebar,resizable,dependent,minimizable=no,dialog=no";
+        features = "chrome,titlebar,resizable,minimizable=no,dialog=no";
     }
 
     openDialog(url, "_blank", features, args);
 }
 
 /**
  * Prompts the user how the passed item should be modified. If the item is an
  * exception or already a parent item, the item is returned without prompting.