SafeCracker seems to generate some script after the form that is causing modal windows to not work:
[removed]// <![CDATA[ if (typeof EE == “undefined” || ! EE) { var EE = ,”fileuploader”:,”lang”:,”publish”:,”user_id”:1,”XID”:”581439aa6691a35e7d7949088d0a56cc3c4d2cd1”};} mySettings = ,”onCtrlEnter”:,”markupSet”:[,,,]}; myWritemodeSettings = ,”onCtrlEnter”:,”markupSet”:[,,,],”onTab”:}; // ]]>
if you look at: var EE = ,”fileuploader” that seems to be a syntax error that has gone unnoticed.
Same issue on my end after updating to 2.2.1, from 2.1.5
Beautified code below. It’s the first script after </form> of the safecracker form.
// <![CDATA[
if (typeof EE == "undefined" || !EE) {
var EE = ,
"fileuploader": , "lang": , "publish": , "user_id": 1, "XID": "something"
};
}
mySettings = , "onCtrlEnter": ,
"markupSet": [, , , , ]
};
myWritemodeSettings = , "onCtrlEnter": ,
"markupSet": [, , , , ],
"onTab":
};
// ]]>This should probably go to Tech Support?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.