put a default button to a in-progress dialog
This commit is contained in:
		| @ -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; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user