2 Replies Latest reply on Mar 15, 2013 5:05 PM by Sham HC

    Adding a double-click handler to CQ component

    albinomouse Level 1

      I would like to add a double click handler to the "Insert New Component" dialog in CQ. 

       

      The code that generates this dialog is in EditBase.js : /libs/cq/ui/widgets/source/widgets/wcm/EditBase.js.  "getEditConfig()" at line 582 seems to return the dialog that I want, and it was a render listener declared.  I can add a console log here and see it when I display an "Insert New Component" dialog.  What would be the steps to adding a double-click listener?  Is there one currently that I can modify?