Commit abd2d7de authored by Daniel Chiang's avatar Daniel Chiang Committed by 杨奕

call `doClose()` in the exposed `close` method

parent f307f7f4
...@@ -204,6 +204,7 @@ MessageBox.prompt = (message, title, options) => { ...@@ -204,6 +204,7 @@ MessageBox.prompt = (message, title, options) => {
}; };
MessageBox.close = () => { MessageBox.close = () => {
instance.doClose();
instance.visible = false; instance.visible = false;
msgQueue = []; msgQueue = [];
currentMsg = null; currentMsg = null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment