Iam trying to trigger a AUI dialog from a web-item section="system.attachment". I already added a added a css class
<styleClass>goedit_edit_button</styleClass>
so i can bind the dialog on that link, but iam not sure how to load my on-doc-rdy javascript for a system page like pages/viewpageattachments.action.
Maybe there is even a specail css class to auto-bind a dialog?
Community moderators have prevented the ability to post new answers.
with the added style-class i used js binded to the page to open a dialog
AJS.toInit(function () { var dialog = new AJS.Dialog({ width:200, height:200, }); AJS.$(".goedit_edit_button").click(function() { dialog.show(); return false; }); });
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.