Bug 520228: When following an entered URL, the old page's title is shown until the new one's title is acquired. [r=21 r=mark.finkle]
authorBenjamin Stover <webapps@stechz.com>
Fri, 09 Oct 2009 01:49:43 -0400
changeset 65641 68d0ff94a8097927ebac599787195b2f2a75d5fb
parent 65640 3fc8d671e30432d5bcfed8d95ca8f0fba1b3719a
child 65642 c8f7f563071419be64df946fde9328794078fa4b
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewers21, mark
bugs520228
Bug 520228: When following an entered URL, the old page's title is shown until the new one's title is acquired. [r=21 r=mark.finkle]
mobile/chrome/content/browser-ui.js
--- a/mobile/chrome/content/browser-ui.js
+++ b/mobile/chrome/content/browser-ui.js
@@ -503,16 +503,17 @@ var BrowserUI = {
   },
 
   goToURI : function(aURI) {
     aURI = aURI || this._edit.value;
     if (!aURI)
       return;
 
     this._edit.popup.close();
+    this._edit.value = aURI;
 
     var flags = Ci.nsIWebNavigation.LOAD_FLAGS_ALLOW_THIRD_PARTY_FIXUP;
     getBrowser().loadURIWithFlags(aURI, flags, null, null);
 
     gHistSvc.markPageAsTyped(gURIFixup.createFixupURI(aURI, 0));
   },
 
   search : function() {