Reviewed: https://reviews.mahara.org/4059 Committed: http://gitorious.org/mahara/mahara/commit/5a28007dd61ed7e45661265d4bfdc447247db043 Submitter: Aaron Wells (<email address hidden>) Branch: master
commit 5a28007dd61ed7e45661265d4bfdc447247db043 Author: Robert Lyon <email address hidden> Date: Thu Dec 4 17:21:30 2014 +1300
Adjusting the switchbutton plugin (Bug #1396430)
1) Stop the callback function firing onload of page
2) Allowing to specify the function by reference so one can have either:
callback_on: function() { },
or
callback_on: "my_function",
3) Allowing the hidden checkbox to still exist in the tab index for screenreaders
Change-Id: Ic7a153083446be89eca9f6457b3e05e69cb55a4b Signed-off-by: Robert Lyon <email address hidden>
Reviewed: https:/ /reviews. mahara. org/4059 gitorious. org/mahara/ mahara/ commit/ 5a28007dd61ed7e 45661265d4bfdc4 47247db043
Committed: http://
Submitter: Aaron Wells (<email address hidden>)
Branch: master
commit 5a28007dd61ed7e 45661265d4bfdc4 47247db043
Author: Robert Lyon <email address hidden>
Date: Thu Dec 4 17:21:30 2014 +1300
Adjusting the switchbutton plugin (Bug #1396430)
1) Stop the callback function firing onload of page
2) Allowing to specify the function by reference so one can have either:
callback_on: function() { },
or
callback_on: "my_function",
3) Allowing the hidden checkbox to still exist in the tab index for
screenreaders
Change-Id: Ic7a153083446be 89eca9f6457b3e0 5e69cb55a4b
Signed-off-by: Robert Lyon <email address hidden>