I *know* there is something that I'm doing wrong...
I have a modal dialog up and I want to use the busy plugin to block (shade) the modal dialog (not the background behind it).
I have added the window name - not sure if that's the "dialogName" the parameter is expecting...
- Code: Select all
function callback_chooseFile(aFiles){
var w = application.getWindow("oncoreProtocolAttach"),
oSettings = {
processFunction: getAttachment,
message: "Uploading - please wait...",
dialogName: "oncoreProtocolAttach",
paneColor: '#000000',
textColor: '#FF0000',
opacity: 0.5,
showCancelButton: false,
cancelButtonText: 'Stop!',
processArgs: aFiles
};
plugins.busy.block(oSettings);
}