diff --git a/src/screen.js b/src/screen.js index 4d50f2ac2d..180a7b9866 100644 --- a/src/screen.js +++ b/src/screen.js @@ -1538,7 +1538,7 @@ return; } var prm = jQuery.when(); - if (attributes.confirm !== undefined) { + if (attributes.confirm) { prm = Sao.common.sur.run(attributes.confirm); } prm.then(function() {