From 95b8821cc9c48472864f82490e9947f287ee01b2 Mon Sep 17 00:00:00 2001 From: Oleksii Kriuchykhin Date: Tue, 15 May 2018 12:57:36 +0200 Subject: [PATCH] Re-init file preview modal after inventory row editing [SCI-2391] --- app/assets/javascripts/repositories/repository_datatable.js.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/repositories/repository_datatable.js.erb b/app/assets/javascripts/repositories/repository_datatable.js.erb index 937bc3d72..4e7dcd825 100644 --- a/app/assets/javascripts/repositories/repository_datatable.js.erb +++ b/app/assets/javascripts/repositories/repository_datatable.js.erb @@ -1065,6 +1065,7 @@ var RepositoryDatatable = (function(global) { currentMode = 'viewMode'; // Table specific stuff TABLE.button(0).enable(true); + initPreviewModal(); } function changeToEditMode() {