Support » Plugin: Memphis Documents Library » Uncaught SyntaxError: Invalid Unicode escape sequence

  • I’m getting this error. I assume it’s because of “\”

    Uncaught SyntaxError: Invalid Unicode escape sequence

    The error is in this function.

    jQuery( document ).ready(function() {
    		mdocs_admin('http://my-site/wp-content/plugins/memphis-documents-library/', 'E:\inetpub\wwwroot\my-site/');
    	});

    Not sure how to fix this. Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author bhaldie

    (@bhaldie)

    for now you can change the code in the file mdocs-settings.php, line 234:

    
    <script type="text/javascript">
    	jQuery( document ).ready(function() {
    		mdocs_admin('<?php echo MDOC_URL; ?>', '<?php echo ABSPATH; ?>');
    	});	
    </script>
    

    to this:

    
    <script type="text/javascript">
    	jQuery( document ).ready(function() {
    		mdocs_admin();
    	});	
    </script>
    

    try that and see if your issue is fixed.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.