When developing plugin for vClient, sometimes there needs to show a dialog. I used dijit.dialog for development.
However, when the dialog is on show, and if I minimize the vClient and then maximize the vClient, there will be a js error occurred which said the argument is not valid. But if I use a browser instead of vClient, everything is ok.
I have no idea about this problem.
Is there anybody who has run into the same problem?
What should I do to solve this problem? Or anyone who can give me some suggestion? Thank you very much.
I got the root cause. When minimize vClient, it will trigger an event which make dojo to resize the window. The minimize window's width and length is used and the dojo will give a invalid value, which caused the error.