• Robert Lyon's avatar
    Adjusting the switchbutton plugin (Bug #1396430) · 5a28007d
    Robert Lyon authored
    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's avatarRobert Lyon <robertl@catalyst.net.nz>
    5a28007d
Name
Last commit
Last update
external Loading commit data...
htdocs Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
Makefile Loading commit data...
README Loading commit data...
phpunit.xml Loading commit data...