Bug 310393: Hitting Enter in an empty searchbar shouldn't add an empty entry to its form history, r=mano
git-svn-id: svn://10.0.0.236/trunk@190458 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
61b7caf589
commit
b51e960204
@ -301,7 +301,7 @@
|
||||
<parameter name="aEvent"/>
|
||||
<body><![CDATA[
|
||||
// Save the current value in the form history
|
||||
if (!this.hasAttribute("disableautocomplete"))
|
||||
if (this.value && !this.hasAttribute("disableautocomplete"))
|
||||
this.formHistSvc.addEntry(this.getAttribute(
|
||||
"autocompletesearchparam"), this.value);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user