diff --git a/toolkit/profile/content/profileSelection.js b/toolkit/profile/content/profileSelection.js
index 011946f7471a..d917647c7347 100644
--- a/toolkit/profile/content/profileSelection.js
+++ b/toolkit/profile/content/profileSelection.js
@@ -117,7 +117,10 @@ function acceptDialog()
gProfileService.startWithLastProfile = autoSelectLastProfile.checked;
gProfileService.selectedProfile = selectedProfile.profile;
+ /* Bug 257777 */
+#ifndef MOZ_PHOENIX
gProfileService.startOffline = document.getElementById("offlineState").checked;
+#end if
gDialogParams.SetInt(0, 1);
diff --git a/toolkit/profile/content/profileSelection.xul b/toolkit/profile/content/profileSelection.xul
index 9cbdf8823831..be9090cdc785 100644
--- a/toolkit/profile/content/profileSelection.xul
+++ b/toolkit/profile/content/profileSelection.xul
@@ -78,7 +78,10 @@
onkeypress="onProfilesKey(event);">
+
+#ifndef MOZ_PHOENIX
+#endif