Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    generateJSCallback needs document.domain synchronization code fix

    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:
    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}
    needed changes including document.domain synchronization in the callback
    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)";
    Can you make that change please? This is needed for upload functionality in environments that use document.domain.

    #2
    Thanks for bringing this to our attention - the patch has been rolled into our codebase and will show up in nightlies going forward.

    Comment

    Working...
    X