diff options
Diffstat (limited to 'js/admin.js')
-rw-r--r-- | js/admin.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/js/admin.js b/js/admin.js new file mode 100644 index 0000000..89141ea --- /dev/null +++ b/js/admin.js @@ -0,0 +1,9 @@ +$(document).ready(function() { + $('.popularitycontestclient_category').change(function() { + OC.AppConfig.setValue( + 'popularitycontestclient', + $(this).attr('name').substring(24), + $(this).attr('checked') ? 'yes' : 'no' + ); + }); +}); |