I'm trying to show a BusyIndicator, but when I run the project it doesn't show. This is my main.js:
var busyInd;
function wlCommonInit() {
busyInd = new WL.BusyIndicator('content', {text : 'Loading...'});
mostraDialogo(true);
}
function mostraDialogo(on) {
if (on)
busyInd.show();
else
busyInd.hide();
}
What's wrong?