Grafikart / JS-Markdown-Editor

An easy to use markdown editor with live preview and Image uploading
MIT License
225 stars 44 forks source link

Uploader Data parameter not being used #3

Closed mbarreyro closed 9 years ago

mbarreyro commented 9 years ago

This code below is not sending user id parameter to the server. Any ideas?

        $(document).ready(function () {
            var md = new MdEditor('#document_content', {
                'uploader': "/upload" ,
                'uploaderData': {
                    'user_id': + window.userId,
                },
                'preview': true
            });
        });
mbarreyro commented 9 years ago

All problems were related with minification.