• Resolved usableweb

    (@usableweb)


    Using v1.9.1 of your plugin, and MainWP Dashboard 3.02. After installing Download Monitor plugin, when pressing ‘Insert Download’ button in backend post or page editor, I receive the following error:

    Uncaught ReferenceError: ajaxurl is not defined(anonymous function) @ mainwp.js?ver=9c5d02e0f6df747f8308e0fc1610fd23:1520j @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:2k.fireWith @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:2m.extend.ready @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:2J @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery…:2

    .. and the Add Download modal window is munged. Turns out your plugin and theirs are using the same ‘ajaxurl’ variable.

    Deactivating the MainWP Dashboard plugin resolves the issue.

    You may want to prefix that variable name with ‘dm_’ or the like …

    Thanks!

    https://wordpress.org/plugins/download-monitor/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘JS Conflict With MainWP Dashboard Plugin’ is closed to new replies.