MozillaZine

onViewToolbarsPopupShowing is not defined

Talk about add-ons and extension development.
poleta33
 
Posts: 115
Joined: October 14th, 2004, 2:06 pm

Post Posted October 21st, 2016, 1:11 am

Hi all

in my xul window I've tried to add this menupopup :
Code: Select all
      <menupopup id="cardbook-toolbar-context" onpopupshowing="onViewToolbarsPopupShowing(event, ['navigation-toolbox', 'cardbook-toolbox1']);">


and I get : onViewToolbarsPopupShowing is not defined

which script should I load to make this function known ?

poleta33
 
Posts: 115
Joined: October 14th, 2004, 2:06 pm

Post Posted October 21st, 2016, 2:52 am

found it : "chrome://messenger/content/mailCore.js"

Return to Extension Development


Who is online

Users browsing this forum: No registered users and 2 guests