glebovpavel / IR_to_MSExcel

Oracle Apex plugin for Interactive Grid or Interactive Report
http://glebovpavel.github.io/Description_IR_TO_XSLX/
Other
39 stars 14 forks source link

JS with multiple jQuery Libs #14

Closed tompetrus closed 7 years ago

tompetrus commented 8 years ago

I have a project where an additional jQuery library is loaded. The bind to "dialogopen" in addDownloadXLSXIcon is therefor binding to the incorrect jQuery instance.

function addDownloadXLSXIcon(plugin_id_in,p_region_static_id) {     
  $('body').on( "dialogopen", function( event, ui ) {

You can rather easily fix this by not using $ but rather apex.jQuery. I'd advise using that everywhere.