Been using the busy plugin without a problem then suddenly in Developer it just does not work any more for web client.
Tried using SC and all good.
Created a new test solution and that does not work either … Not sure whats happened. The simple test solution code I pasted below. Also am using version Servoy 5.2.1 and tried with the latest and previous versions of the busy plugin.
function onAction(event) {
var params = {
processFunction: btn_start_busy,
message: 'Retrieving page ... please wait!',
opacity: 0.5,
paneColor: '#000000',
showCancelButton: true,
cancelButtonText: 'Cancel'
};
plugins.busy.block( params );
}
/**
* @properties={typeid:24,uuid:"6BD4970B-0A64-4050-9EA3-975CC2302917"}
*/
function btn_start_busy() {
try {
var data = plugins.http.getPageData( 'http://www.google.com' )
} catch (e) {
application.output("exception caught");
application.output(e);
} finally {
plugins.busy.unblock();
}
}