Bug #16661
closedSearch box doesn't fill input value after search
0%
Description
Fix:
alt_shortcut.php:395
FROM:
$editIdCode = '<td nowrap="nowrap">'.$LANG->getLL('shortcut_editID',1).': <input type="text" value="'.($this->editError?htmlspecialchars($this->editPage):'').'" name="editPage"'.$this->doc->formWidth(15).' onchange="submitEditPage(this.value);" />'.
TO:
$editIdCode = '<td nowrap="nowrap">'.$LANG->getLL('shortcut_editID',1).': <input type="text" value="'.($this->editError?'':htmlspecialchars($this->editPage)).'" name="editPage"'.$this->doc->formWidth(15).' onchange="submitEditPage(this.value);" />'.
(issue imported from #M4424)
Updated by Michael Stucki about 18 years ago
This is not a bug. The search word is only displayed again if an error occured.
If no error occurs, the input field will be emptied and appended by the string "Search for: ..."
There is nothing wrong with this.
Updated by John Angel about 18 years ago
Input field should never be emptied.
It is convenient for narrowing search (instead of copy&paste).
All search engines are doing that.
Updated by Michael Stucki about 18 years ago
I do not agree, therefore I will not change it. But I'll leave this issue open.
Updated by Ingo Renner almost 17 years ago
well, now that we have a new default BE, I do not care too much
Updated by Oliver Hader almost 17 years ago
Hm, still present also in the new search widget... ;)
Updated by Mario Rimann over 13 years ago
- Target version deleted (
0)
I just tested it with 4.6-dev and cannot reproduce the issue. The search-term keeps standing after the search.
Please close this issue.
Updated by Oliver Hader over 13 years ago
- Status changed from New to Closed
- Priority changed from Should have to Won't have this time
- PHP Version deleted (
4)
Thanks Mario!
This issue already was pretty old...