View | Details | Raw Unified | Return to bug 36327
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js (-5 / +5 lines)
Lines 131-142 $(document).ready(function(){ Link Here
131
        });
131
        });
132
    }
132
    }
133
133
134
    $(".delete").on("click", function(e){
134
135
    $(document).on('click', '.delete', function(e) {
135
        e.preventDefault();
136
        e.preventDefault();
136
        if ( confirmDelete(MSG_CONFIRM_DELETE_ITEM) ) {
137
        if (confirmDelete(MSG_CONFIRM_DELETE_ITEM)) {
137
            return $(this).siblings('form').submit();
138
            return $("#" + $(this).data("item") + "-delete-item-form").submit();
138
        }
139
        }
139
    });
140
    }) ;
140
});
141
});
141
142
142
function CheckTemplateForm(f) {
143
function CheckTemplateForm(f) {
143
- 

Return to bug 36327