Issue #2 new

feincms reference error in markupmirror.js

Paolo Dina
created an issue

Hi, I recently used markupmirror for a non feincms project, plain Django. I got this error in firebug console:

ReferenceError: feincms is not defined

http://127.0.0.1:8000/static/markupmirror/markupmirror.js

Line 184

Is this a bug or I did something wrong? My workaround was to change markupmirror.js adding this code before Line 184:

try {
    feincms;
} catch(ReferenceError) {
    var feincms; // set to undefined and added to the namespace
}

This seems to fix the issue, what do you think?

Comments (1)

  1. Log in to comment