Project

General

Profile

Actions

Bug #16661

closed

Search box doesn't fill input value after search

Added by John Angel about 18 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Won't have this time
Assignee:
-
Category:
-
Target version:
-
Start date:
2006-10-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)

Actions #1

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.

Actions #2

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.

Actions #3

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.

Actions #4

Updated by Ingo Renner almost 17 years ago

well, now that we have a new default BE, I do not care too much

Actions #5

Updated by Oliver Hader almost 17 years ago

Hm, still present also in the new search widget... ;)

Actions #6

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.

Actions #7

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...

Actions

Also available in: Atom PDF