Hi, I've had my own patch for this for awhile. But, it would be helpful if you could fix this in the main code base.
The following code needs to be patched to include document.domain synchronization code:
current code:
needed changes including document.domain synchronization in the callback
Can you make that change please? This is needed for upload functionality in environments that use document.domain.
The following code needs to be patched to include document.domain synchronization code:
current code:
Code:
generateJSCallback=function isc_c_Comm_generateJSCallback(_1){var _2=_1.transactionNum,_3=_1.callback,_4=isc.Comm.alwaysSendInNewWindow?"window.opener.parent.isc.Comm.hiddenFrameReply("+_2+",results,window)":"parent.isc.Comm.hiddenFrameReply("+_2+",results)";_1.requestData.jscallback=_4;this.$i2[_2]=_3}
Code:
var _2=_1.transactionNum,_3=_1.callback,_4=isc.Comm.alwaysSendInNewWindow?"window.opener.parent.isc.Comm.hiddenFrameReply("+_2+",results,window)":"while (!window.isc && document.domain.indexOf(\".\") != -1) { try { parent.isc; break;} catch (e) { document.domain = document.domain.replace(/.*?\\./, \"\");}}parent.isc.Comm.hiddenFrameReply("+_2+",results)";
Comment