diff --git a/amd/build/manage.min.js b/amd/build/manage.min.js index 39ecb8e..a3d8d00 100644 --- a/amd/build/manage.min.js +++ b/amd/build/manage.min.js @@ -1,2 +1,9 @@ -define ("enrol_apply/manage",["jquery"],function(a){return{init:function init(){a("#toggleall").on("change",function(){a("input[name=\"userenrolments[]\"]").prop("checked",a("#toggleall").prop("checked"))});a("#formaction").on("change",function(){a("#enrol_apply_manage_form").submit()})}}}); -//# sourceMappingURL=manage.min.js.map +/** + * @package enrol_apply + * @copyright 2016 sudile GbR (http://www.sudile.com) + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @author Johannes Burk + */ +define("enrol_apply/manage",["jquery"],(function($){return{init:function(){$("#toggleall").on("change",(function(){$('input[name="userenrolments[]"]').prop("checked",$("#toggleall").prop("checked"))})),$("#formaction").on("change",(function(){$("#enrol_apply_manage_form").submit()}))}}})); + +//# sourceMappingURL=manage.min.js.map \ No newline at end of file diff --git a/amd/build/manage.min.js.map b/amd/build/manage.min.js.map new file mode 100644 index 0000000..f266815 --- /dev/null +++ b/amd/build/manage.min.js.map @@ -0,0 +1 @@ +{"version":3,"file":"manage.min.js","sources":["../src/manage.js"],"sourcesContent":["// This file is part of Moodle - http://moodle.org/\n//\n// Moodle is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// Moodle is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n//\n// You should have received a copy of the GNU General Public License\n// along with Moodle. If not, see .\n\n/**\n * @package enrol_apply\n * @copyright 2016 sudile GbR (http://www.sudile.com)\n * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later\n * @author Johannes Burk \n */\n\n/**\n * @module enrol_apply/manage\n */\ndefine(['jquery'], function($) {\n return {\n init: function() {\n $('#toggleall').on('change', function() {\n $('input[name=\"userenrolments[]\"]').prop('checked', $('#toggleall').prop('checked'));\n });\n\n $('#formaction').on('change', function() {\n $('#enrol_apply_manage_form').submit();\n });\n }\n };\n});\n"],"names":["define","$","init","on","prop","submit"],"mappings":";;;;;;AAyBAA,4BAAO,CAAC,WAAW,SAASC,SACjB,CACHC,KAAM,WACFD,EAAE,cAAcE,GAAG,UAAU,WACzBF,EAAE,kCAAkCG,KAAK,UAAWH,EAAE,cAAcG,KAAK,eAG7EH,EAAE,eAAeE,GAAG,UAAU,WAC1BF,EAAE,4BAA4BI"} \ No newline at end of file