fix for javascript error “ffwd_plugin_url” in ffwd_editor_button.js
-
I fixed a javascript error on “undefined var ffwd_plugin_url” in ffwd_editor_button.js. Maybe this can be of help to somebody else.
This does not seem to affect the facebook feed plugin but it caused an other plugin to malfunction.Here’s the fix:
\wp-content\plugins\wd-facebook-feed\js
(function () { tinymce.create('tinymce.plugins.wd_fb_mce', { init:function (ed, url) { var c = this; # add the next line var ffwd_plugin_url = plugin_url:url; c.url = url; c.editor = ed;So you basically need to add juts a single line of code at line 5.
Hope this helps anyone.
With regards,
Peet
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘fix for javascript error “ffwd_plugin_url” in ffwd_editor_button.js’ is closed to new replies.