fmaatts is not defined
-
Hi, after adding the shortcode:
echo do_shortcode(‘[file_manager_advanced login=”yes” roles=”administrator” path=”wp-content/uploads/pacientes” operations=”download,upload,paste,copy,rm” view=”list” theme=”light” lang =”es”]’);
I get this message:
Uncaught ReferenceError: fmaatts is not defined at HTMLDocument.<anonymous> (shortcode.js:6:16)
This is the shortcode.js file:
jQuery(document).ready(function() { jQuery('#file_manager_advanced').elfinder( // 1st Arg - options { cssAutoLoad : false, // Disable CSS auto loading url : fmaatts.ajaxurl, // connector URL (REQUIRED), lang: fmaatts.lang, defaultView : fmaatts.view, dateFormat : fmaatts.dateformat, customData : {action: 'fma_load_shortcode_fma_ui', _fmakey: fmaatts.fmakey, path:fmaatts.path, url:fmaatts.url, w: fmaatts.w, r: fmaatts.r, hide: fmaatts.hide, operations: fmaatts.operations, path_type: fmaatts.path_type } }); });
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘fmaatts is not defined’ is closed to new replies.