installer: Clean up ext-dependency jQuery code
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 18 Apr 2018 02:14:30 +0000 (03:14 +0100)
committerKrinkle <krinklemail@gmail.com>
Wed, 18 Apr 2018 17:12:23 +0000 (17:12 +0000)
commit05eb49e989a8e9ddda4dbfb049b6542933bc2c90
tree3c332c8efd3bdfc6797f686086a60753a2abeba4
parent78bacc65702dccd57ea495c5e1115457edb50e2b
installer: Clean up ext-dependency jQuery code

Follows-up c8833d8e8ecc.

* Select the input elements by class to avoid accidentally trigging
  on unrelated elements elsewhere on the page in the future, given
  the generic selector.

* Use on('change') instead of deprecated change() alias.

* Set properties directly instead of via prop() indirection.
* Get attribute directly instead of via data() indirection.

Change-Id: I5158aa26b5fd7327d6795f0a31bbffbe99043fbf
(cherry picked from commit fd8a4c707a9c053ccf20ba0594cfc9c11354a374)
includes/installer/WebInstallerOptions.php
mw-config/config.js