diff --git a/mozilla/toolkit/components/help/content/contextHelp.js b/mozilla/toolkit/components/help/content/contextHelp.js index 04593d011b4..3674fa8c389 100644 --- a/mozilla/toolkit/components/help/content/contextHelp.js +++ b/mozilla/toolkit/components/help/content/contextHelp.js @@ -65,7 +65,14 @@ function openHelp(topic, contentPack) params.SetString(1, topic); const ww = Components.classes["@mozilla.org/embedcomp/window-watcher;1"] .getService(Components.interfaces.nsIWindowWatcher); +#ifdef XP_WIN +#define HELP_ALWAYS_RAISED_TOGGLE +#endif +#ifdef HELP_ALWAYS_RAISED_TOGGLE ww.openWindow(null, "chrome://help/content/help.xul", "_blank", "chrome,all,alwaysRaised,dialog=no", params); +#else + ww.openWindow(null, "chrome://help/content/help.xul", "_blank", "chrome,all,dialog=no", params); +#endif } } diff --git a/mozilla/toolkit/components/help/content/help.js b/mozilla/toolkit/components/help/content/help.js index 2cf25fe997a..d145ce303ce 100644 --- a/mozilla/toolkit/components/help/content/help.js +++ b/mozilla/toolkit/components/help/content/help.js @@ -785,13 +785,10 @@ function getXulWin() } # toggleZLevel - Toggles whether or not the window will always appear on top. Because -# alwaysRaised is not supported on an OS other than Windows and Mac OS X, this code -# will not appear in those builds. +# alwaysRaised is not supported on an OS other than Windows, this code will not +# appear in those builds. # # element - The DOM node that persists the checked state. -#ifdef XP_MACOSX -#define HELP_ALWAYS_RAISED_TOGGLE -#endif #ifdef XP_WIN #define HELP_ALWAYS_RAISED_TOGGLE #endif diff --git a/mozilla/toolkit/components/help/content/help.xul b/mozilla/toolkit/components/help/content/help.xul index fe833e9162e..5a34e98c689 100644 --- a/mozilla/toolkit/components/help/content/help.xul +++ b/mozilla/toolkit/components/help/content/help.xul @@ -55,9 +55,6 @@ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" width="700" height="550" -#ifdef XP_MACOSX -#define HELP_ALWAYS_RAISED_TOGGLE -#endif #ifdef XP_WIN #define HELP_ALWAYS_RAISED_TOGGLE #endif diff --git a/mozilla/toolkit/components/help/content/helpContextOverlay.xul b/mozilla/toolkit/components/help/content/helpContextOverlay.xul index c9034511e36..9f9af91e75a 100644 --- a/mozilla/toolkit/components/help/content/helpContextOverlay.xul +++ b/mozilla/toolkit/components/help/content/helpContextOverlay.xul @@ -75,9 +75,6 @@ label="&fullZoomReduceBtn.label;" accesskey="&fullZoomReduceBtn.accesskey;" oncommand="ZoomManager.reduce();"/> -#ifdef XP_MACOSX -#define HELP_ALWAYS_RAISED_TOGGLE -#endif #ifdef XP_WIN #define HELP_ALWAYS_RAISED_TOGGLE #endif