View Issue Details

IDProjectCategoryView StatusLast Update
0006974mantisbtbugtrackerpublic2006-09-12 00:52
ReporterchillaxAssigned Tovboctor  
PrioritynormalSeveritytweakReproducibilityN/A
Status closedResolutionfixed 
Product Version1.0.2 
Fixed in Version1.1.0a1 
Summary0006974: JS helper for the Jump text input box
Description

I found this to be useful to help users know what they should enter into the input box next to the jump button.

What to change:
$PATH_TO_MANTIS/core/html_api.php:546 (Line 0000546)

PRINT "<input type=\"text\" name=\"bug_id\" size=\"10\" class=\"small\" value=\"Bug ID#\" onfocus=\"if (this.value == 'Bug ID#') this.value = ''\" onblur=\"if (this.value == '') this.value = 'Bug ID#'\" /> ";

What it does:
Adds the text Bug ID# to the Jump input box until a user clicks in there and then makes it blank. Replaces the text if the user leaves the field without entering a value.

What it needs:
Should put the text into a lang file and reference it by a variable, but here is the end result for hard coding it in English as an example.

TagsNo tags attached.

Activities

chillax

chillax

2006-04-21 17:34

reporter   ~0012662

Accidental link to bug 546. Disregard that as it was simply to inform you that :546 meant line number 546 of the file.

vboctor

vboctor

2006-04-21 22:13

manager   ~0012676

html_api.php -> new revision: 1.190
strings_english.txt -> new revision: 1.271