We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2e35e0 commit 4587a36Copy full SHA for 4587a36
js/com/component/InstanceEditor.js
@@ -431,8 +431,10 @@ define([
431
}
432
}).catch(function(resultObj) {
433
let { result } = resultObj;
434
- // show alert
435
- com_util.renderAlertModal(result.ename + ': ' + result.evalue);
+ // show alert if this is visible
+ if (that.pageThis.isHidden() == false) {
436
+ com_util.renderAlertModal(result.ename + ': ' + result.evalue);
437
+ }
438
// callback
439
if (callback) {
440
callback('');
js/m_visualize/Chart.js
@@ -646,7 +646,9 @@ define([
646
647
} catch (exmsg) {
648
// show error on alert modal
649
- com_util.renderAlertModal(exmsg);
+ if (this.isHidden() == false) {
650
+ com_util.renderAlertModal(exmsg);
651
652
653
654
return sbCode.toString();
0 commit comments