Is there any fix for this yet? Or an event we should be listening to when the dialog opens at "/mnt/override/"? This is very frustrating and another reason I dislike working with closed systems.
The problem:
- 'dialog-ready' fires as expected when it's launched as a dialog in 'editor.html'
- 'dialog-ready' never fires when you are forced into "/mnt/override" on smaller screens. Why does this even happen to begin with? Why didn't you guys just program the dialog to always open and if on a smaller viewport default to fullscreen? Is there anyway to set this behavior? I'm going to have to do a window.load event to get around this.
// Only way I could get around this horrible API design pattern if (location.href.match(/mnt\/override/)) $(window).on('load', onReadyFunction) else $(document).on('dialog-ready', onReadyFunction)
---
Edit: $(document).on('foundation-contentloaded') seems to be the right event to listen to