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
This commit is contained in:
Sergi Almacellas Abellana
2018-03-06 14:41:39 +01:00
parent 7d1bc66823
commit 760f1b2912
+1 -1
View File
@@ -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() {