You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 29, 2019. It is now read-only.
This seems to be caused by the handleLocationChange function which calls the close() method when a location change occurs. Effectively this close method ends up running after the dialog has been opened in the new location, closing it immediately.
I've resolved this by adding a check to see if the dialog is opened before closing it:
if(self._open) self.close();
but due to the $dialog rewrite issue am not sure whether it's worth submitting a pull request or just raising it as an issue that needs resolving.
The text was updated successfully, but these errors were encountered:
Ah ha ! I found this issue too ! Almost at the same time with you. I think it is still worth to mention. Anyway, my solution is pretty much like yours. I add if(!self._open) return false; in close method.
This seems to be caused by the handleLocationChange function which calls the close() method when a location change occurs. Effectively this close method ends up running after the dialog has been opened in the new location, closing it immediately.
I've resolved this by adding a check to see if the dialog is opened before closing it:
if(self._open) self.close();
but due to the $dialog rewrite issue am not sure whether it's worth submitting a pull request or just raising it as an issue that needs resolving.
The text was updated successfully, but these errors were encountered: