Access to script5 denied ie9

I have this error which is always displayed in IE 9 when the cursor has a busy state: script5 access is denied on line 1 column 1

which<!DOCTYPE html>

function busyCursor() {
if (!window["busystatus"]) {
    var busystatus = {};
}

busystatus.onStatusChange = function onStatusChange(data) {
    var status = data.status;
    if (status === "begin") { 
        document.body.style.cursor = 'wait';
        disableScreen();
    } else { 
        document.body.style.cursor = 'auto';
        $("#overlay ").remove();
    }
};

jsf.ajax.addOnEvent(busystatus.onStatusChange);

function disableScreen() {
    var div= document.createElement("div");
    div.id += "overlay";
    document.body.appendChild(div);
}

      

I am using jquery-1.11.0.min.js and jquery-ui-1.11.2.min.js.

Why am I having this error?

Thank.

+3


source to share





All Articles