diff --git a/gulp/res/js/forms.js b/gulp/res/js/forms.js index c4d2112d..1007a9e1 100644 --- a/gulp/res/js/forms.js +++ b/gulp/res/js/forms.js @@ -66,7 +66,7 @@ function doModal(data, postcallback, loadcallback) { } if (postcallback) { checkInterval = setInterval(() => { - if (modalframe && modalframe.contentDocument.title == 'Success') { + if (modalframe && modalframe.contentDocument.title == __('Success')) { clearInterval(checkInterval); removeModal(); postcallback();