put a default button to a in-progress dialog
This commit is contained in:
parent
de4bf6a5bf
commit
16d4213c53
@ -277,6 +277,12 @@ function show_in_progress_message (outputMsg, titleMsg)
|
||||
width: 'auto',
|
||||
height: 'auto',
|
||||
|
||||
buttons: {
|
||||
"OK": function () {
|
||||
// do nothing
|
||||
}
|
||||
},
|
||||
|
||||
beforeClose: function() {
|
||||
// if importing is in progress, prevent dialog closing
|
||||
return !work_in_progress;
|
||||
|
@ -226,6 +226,11 @@ function show_in_progress_message (outputMsg, titleMsg)
|
||||
width: 'auto',
|
||||
height: 'auto',
|
||||
|
||||
buttons: {
|
||||
"OK": function () {
|
||||
// do nothing
|
||||
}
|
||||
},
|
||||
beforeClose: function() {
|
||||
// if importing is in progress, prevent dialog closing
|
||||
return !work_in_progress;
|
||||
|
Loading…
Reference in New Issue
Block a user