Bug 336625: text remains grey when dragged to the search bar, r=jhughes

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@196577 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
gavin%gavinsharp.com
2006-05-15 20:31:02 +00:00
parent bd66ef980c
commit 4468712ca7

View File

@@ -596,7 +596,12 @@
var data = transferUtils.retrieveURLFromData(aXferData.data,
aXferData.flavour.contentType);
if (data) {
// Remove the search bar's empty attribute, since we're setting
// a value without focusing the textbox. If it's not empty, this
// won't do anything. This can be removed if bug 280635 is fixed.
this.mOuter._getParentSearchbar().removeAttribute("empty");
this.mOuter.value = data;
this.mOuter.onTextEntered(aEvent);
}
},