update master to V7
This commit is contained in:
10
src/editor/dialogs/seAlertDialog.js
Normal file
10
src/editor/dialogs/seAlertDialog.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import SePlainAlertDialog from './SePlainAlertDialog.js';
|
||||
|
||||
const seAlert = (text) => {
|
||||
const dialog = new SePlainAlertDialog();
|
||||
dialog.textContent = text;
|
||||
dialog.choices = ['Ok'];
|
||||
dialog.open();
|
||||
};
|
||||
|
||||
window.seAlert = seAlert;
|
||||
Reference in New Issue
Block a user