From 760f1b29126def5927da37aad6514cdf9d38f094 Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Tue, 6 Mar 2018 14:41:39 +0100 Subject: [PATCH] Do not show confirm dialog for buttons with empty value Since issue6389 the server sets an empty value for the buttons that do not have any confirmation string issue7193 --- src/screen.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {