Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var handleError = function (sError) {
oWorking.hide();
oThis._showErrorDialog(this.i18n["catalog.gxe.dialog.loadTitle"], sWorkingMsg, sError);
};
_showLoadDialog: function () {
var bEnabled = true;
var oThis = this;
var oWorking = null;
var sWorkingMsg = null;
var elDialogContent = document.createElement("div");
var oDialog = new dijit.Dialog({
title: this.i18n["catalog.gxe.dialog.loadTitle"],
content: elDialogContent
});
dojo.connect(oDialog, "onHide", dojo.hitch(this, function () {
setTimeout(dojo.hitch(this, function () {
oDialog.destroyRecursive();
}), 300);
}));
var elOffScreen = document.createElement("span");
dojo.addClass(elOffScreen, "dijitOffScreen");
elDialogContent.appendChild(elOffScreen);
var elCriteria = document.createElement("div");
elCriteria.className = "gxePopupPanel";
elDialogContent.appendChild(elCriteria);