diff --git a/codepot/src/codepot/views/wiki_edit.php b/codepot/src/codepot/views/wiki_edit.php index 89e5c17a..b709d2a7 100644 --- a/codepot/src/codepot/views/wiki_edit.php +++ b/codepot/src/codepot/views/wiki_edit.php @@ -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; diff --git a/codepot/src/codepot/views/wiki_editx.php b/codepot/src/codepot/views/wiki_editx.php index 25b23919..1d92a8ae 100644 --- a/codepot/src/codepot/views/wiki_editx.php +++ b/codepot/src/codepot/views/wiki_editx.php @@ -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;