Priority: Low
Current State: No Action Required
Released In: n/a
Target Release: n/a
Hi,
after installation of
TopicInteractionPlugin, the buttons in the attachments tab are not working on first click.
Browser message in Console (on FF 24.4.0 and Chrome 34.0.1847.116 m) is:
Error: cannot call methods on dialog prior to initialization; attempted to call method 'option'
Found a hint here:
http://stackoverflow.com/questions/15626675/cannot-call-methods-on-dialog-prior-to-initialization-attempted-to-call-method
and fixed it by changing in metadata.js (function loadDialog):
- var $this = $(data).appendTo("body");
+ $(data).appendTo("body");
+ $this = $(params.id);
Regards,
Christian
Btw: After first click, the error msg is shown, but the dialog is initialized. Next click will not show the error as the dialog is "ready" when calling the callback function.
Christian, please check the latest release. I think this was fixed by now. At least I haven't seen it for a long while.
--
MichaelDaum - 02 Jun 2014
Yes, it is fixed. Thanks.
--
ChristianKoehn - 30 Jun 2014