https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28297 --- Comment #2 from David Nind <david@davidnind.com> --- Created attachment 195689 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=195689&action=edit Bug 28297: Allow syspref text fields to be saved when content changed to original value This fixes the behavior on changed system preferences in HTML input text fields. Preferences which are changed back to the original value can be saved now without reloading the system pref page. This will only affect input fields with type=text as they have the property defaultValue which is checked to highlight a field as 'modified'. Testplan: a) take a syspref with an HTML text input field f.e. AccessControlAllowOrigin b) write '*' into the iput field. Notice that the preference is marked 'modified'. Click 'save' c) now got to the text field again and delete that '*'. Notice the preference does not get marked as modified and can theefore not be saved. d) apply patch and reload page e) repeat b) and c) and notice that the preference gets marked 'modified' on both cases. Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.