Hi,
I am working on a phabricator task and I need to use OOjs UI/Windows/Message Dialogs (https://www.mediawiki.org/ wiki/OOjs_UI/Windows/Message_Dialogs) for a user warning.
But
TypeError: OO.ui.MessageDialog is not a constructor
error occurs when I use:
var messageDialog = new OO.ui.MessageDialog();
What might be the problem?
Best Regards,
Shanika Ediriweera Undergraduate Dept. of Computer Science & Eng. University of Moratuwa
On 22 February 2017 at 08:02, Shanika Ediriweera shanika.13@cse.mrt.ac.lk wrote:
Hi,
I am working on a phabricator task and I need to use OOjs UI/Windows/Message Dialogs (https://www.mediawiki.org/ wiki/OOjs_UI/Windows/Message_Dialogs) for a user warning.
But
TypeError: OO.ui.MessageDialog is not a constructor
error occurs when I use:
var messageDialog = new OO.ui.MessageDialog();TypeError: OO.ui.MessageDialog is not a constructor
What might be the problem?
Best Regards,
Shanika Ediriweera Undergraduate Dept. of Computer Science & Eng. University of Moratuwa