Item12867: First click on jdialog buttons not working.

pencil
Priority: Low
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: TopicInteractionPlugin
Branches:
Reported By: ChristianKoehn
Waiting For:
Last Change By: ChristianKoehn
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
 

ItemTemplate edit

Summary First click on jdialog buttons not working.
ReportedBy ChristianKoehn
Codebase 1.1.8
SVN Range
AppliesTo Extension
Component TopicInteractionPlugin
Priority Low
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
Release01x01Checkins
Topic revision: r4 - 30 Jun 2014, ChristianKoehn
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy