diff --git a/mozilla/toolkit/profile/content/profileSelection.js b/mozilla/toolkit/profile/content/profileSelection.js
index 011946f7471..d917647c734 100644
--- a/mozilla/toolkit/profile/content/profileSelection.js
+++ b/mozilla/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/mozilla/toolkit/profile/content/profileSelection.xul b/mozilla/toolkit/profile/content/profileSelection.xul
index 9cbdf882383..be9090cdc78 100644
--- a/mozilla/toolkit/profile/content/profileSelection.xul
+++ b/mozilla/toolkit/profile/content/profileSelection.xul
@@ -78,7 +78,10 @@
onkeypress="onProfilesKey(event);">
+
+#ifndef MOZ_PHOENIX
+#endif