mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-07 05:34:55 +08:00
Merge pull request #1248 from Zanz2/zz_checklist_duplicates_bug_sci_1621
Fixes duplicate checkbox entries in activity log [SCI-1621]
This commit is contained in:
commit
27e0d27862
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
// Sets callbacks for toggling checkboxes
|
// Sets callbacks for toggling checkboxes
|
||||||
function applyCheckboxCallBack() {
|
function applyCheckboxCallBack() {
|
||||||
$("[data-action='check-item']").on('click', function(e){
|
$("[data-action='check-item']").off().on('click', function(e){
|
||||||
var checkboxitem = $(this).find("input");
|
var checkboxitem = $(this).find("input");
|
||||||
var checked = checkboxitem.is(":checked");
|
var checked = checkboxitem.is(":checked");
|
||||||
$.ajax({
|
$.ajax({
|
||||||
|
|
Loading…
Add table
Reference in a new issue