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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt (-4 lines)
Lines 215-223 Link Here
215
                    }).success(function() {
215
                    }).success(function() {
216
                        $("#delete_confirm_modal").modal('hide');
216
                        $("#delete_confirm_modal").modal('hide');
217
                        quotes.api().ajax.reload(function (data) {
217
                        quotes.api().ajax.reload(function (data) {
218
                            if (data.recordsTotal == 0) {
219
                                $("#quotes").hide();
220
                            }
221
                            $("#quote_action_result_dialog").hide();
218
                            $("#quote_action_result_dialog").hide();
222
                            $("#quote_delete_success").html(_("Quote #%s deleted successfully.").format(quote_id)).show();
219
                            $("#quote_delete_success").html(_("Quote #%s deleted successfully.").format(quote_id)).show();
223
                        });
220
                        });
224
- 

Return to bug 27251