diff options
author | adityacp | 2020-08-28 11:26:51 +0530 |
---|---|---|
committer | adityacp | 2020-08-28 11:26:51 +0530 |
commit | e3c3a0d9f7819f851890ea2611ba12b4f6255f06 (patch) | |
tree | a5a6bfd8bbdbdb358c8a8912261ab4e7407606c0 /yaksh/static | |
parent | 620df8d25a82ceb99eb7cd17535c20998e212191 (diff) | |
download | online_test-e3c3a0d9f7819f851890ea2611ba12b4f6255f06.tar.gz online_test-e3c3a0d9f7819f851890ea2611ba12b4f6255f06.tar.bz2 online_test-e3c3a0d9f7819f851890ea2611ba12b4f6255f06.zip |
fix design question paper views and tests
Diffstat (limited to 'yaksh/static')
-rw-r--r-- | yaksh/static/yaksh/js/question_paper_creation.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/yaksh/static/yaksh/js/question_paper_creation.js b/yaksh/static/yaksh/js/question_paper_creation.js index 871d6cc..1159dd3 100644 --- a/yaksh/static/yaksh/js/question_paper_creation.js +++ b/yaksh/static/yaksh/js/question_paper_creation.js @@ -59,7 +59,7 @@ $(document).ready(function(){ return true; }); - $('#add_checkall').change(function () { + $('#add_checkall').on("change", function () { if($(this).prop("checked")) { $("#fixed-available input:checkbox").each(function(index, element) { if(isNaN($(this).val())) {return}; @@ -74,7 +74,7 @@ $(document).ready(function(){ } }); - $('#remove_checkall').change(function () { + $('#remove_checkall').on("change", function () { if($(this).prop("checked")) { $("#fixed-added input:checkbox").each(function (index, element) { if(isNaN($(this).val())) { return }; @@ -83,7 +83,6 @@ $(document).ready(function(){ }); } else { $("#fixed-added input:checkbox").each(function (index, element) { - console.log('unchecked'); $(this).prop('checked', false); checked_vals.pop(parseInt($(this).val())); }); |