MantisBT: master 2b98c4e4

Author Committer Branch Timestamp Parent
dregad dregad master 2020-01-07 05:32 master 85a30e9a
Affected Issues  0026596: Wrong defaults for db (plugin) table prefix/suffix
Changeset

Install: fix default prefix change by DB type

The JavaScript that changes the default table prefix/suffix based on
database type and populates the sample table name fields was broken
because multiple DOM elements with the same id existed on the page
(2 sets of hidden <span> for the default values, and the 3 <input>).

Changing the markup for the <span> to set a class instead of an id, and
ajusting the script fixed the problem.

Fixes 0026596

mod - admin/install.php Diff File
mod - js/install.js Diff File