Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4587a36

Browse files
author
minjk-bl
committed
small changes
1 parentb2e35e0 commit4587a36

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

‎js/com/component/InstanceEditor.js‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,8 +431,10 @@ define([
431431
}
432432
}).catch(function(resultObj){
433433
let{ result}=resultObj;
434-
// show alert
435-
com_util.renderAlertModal(result.ename+': '+result.evalue);
434+
// show alert if this is visible
435+
if(that.pageThis.isHidden()==false){
436+
com_util.renderAlertModal(result.ename+': '+result.evalue);
437+
}
436438
// callback
437439
if(callback){
438440
callback('');

‎js/m_visualize/Chart.js‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,9 @@ define([
646646

647647
}catch(exmsg){
648648
// show error on alert modal
649-
com_util.renderAlertModal(exmsg);
649+
if(this.isHidden()==false){
650+
com_util.renderAlertModal(exmsg);
651+
}
650652
}
651653

652654
returnsbCode.toString();

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp