• error in busybox js

    By Patrick Kwintensson 10 years ago

    dojo.require('dijit.Dialog')
    var foo;//you have to declare this global
    function busyBoxON() {
       foo = new dijit.DialogUnderlay({dialogId:"waitScreen",'class': 'busyBox'});
       foo.show();
    }

    function busyBoxOFF(){
        foo.hide();//otherwise it goes wrong here...
    }