this.aForms = new Array("Page1.asp", "Page2.asp", "Page3.asp", "Page4.asp"); function Wizard_showDialog() { var form = "PageCancel.asp"; var frmArgs = "?iAuditID=" + this.iAuditID + "&SID=" + this.SID + "&PID=" + this.PID + "&CGMTO=" + this.CGMTO + "&Pers=" + this.Personality + "&sGroupName=" + encodeURIComponent(this.sGroupName) + "&sTableName=" + this.sTableName + "&sFileName=" + encodeURIComponent(this.sFileName) + "&sFileType=" + this.sFileType + "&sDesc=" + encodeURIComponent(this.sDescription.substring(0,1000)) + "&dGroupDate=" + this.dGroupDate + "&sFieldList=" + this.fieldMap + "&sFirstLine=" + this.sFirstLine + "&dbDriver=" + this.dbDriver + "&dbPath=" + this.dbPath + "&sTempDir=" + this.sTempDir + "&updateAud=" + this.updateAud + "&scopeSN=" + this.scopeSN + "&GMT=" + this.ClientGMTOffset + "&importLib=" + this.importLib + "&atList=" + this.atList + "&annAct=" + this.annAct + "&MergeTo=" + Audit.MergeTo + "&MergeFrom=" + Audit.MergeFrom; switch (this.status){ case "next": this.wizPointer = this.wizPointer + 1; form = this.aForms[this.wizPointer]; break; case "finish" : this.wizPointer = this.wizPointer + 1; form = this.aForms[this.wizPointer]; break; default : form = "PageCancel.asp"; break; } if(typeof(form) != "undefined") { var url = form + frmArgs; $.showModalDialog({ url: url, dialogArguments: window, height: 470, width: 400, scrollable: false, onClose: function () { var returnedValue = this.returnValue; result=returnedValue; } }); } else{ objWizard.status ="finish"; } } while (objWizard.status =="next"){ objWizard.showDialog(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)