MantisBT: master 10af3a5d

Author Committer Branch Timestamp Parent
dhx dhx master 2011-07-15 02:48 master 28eb1f99
Affected Issues  0011826: Remove all inline JavaScript from MantisBT (use external scripts instead)
Changeset

Use placeholder attribute for stopwatch input fields

As part of issue 0011826 to remove all inline JavaScript, the time
tracking stopwatch feature was rewritten using jQuery. A default value
of "hh:mm" was being placed in the time tracking input field which is
invalid if submitted.

We should be using the newer 'placeholder' HTML attribute instead of
mangling the actual value stored in the text input field.

mod - bug_change_status_page.php Diff File
mod - bugnote_add_inc.php Diff File
mod - javascript/common.js Diff File