var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); SCDialog = _aspxCreateClass(ASPxDialog, { constructor: function(name, spellChecker) { this.constructor.prototype.constructor.call(this, name); this.initExecuting = false; this.spellChecker = spellChecker; this.ownerControl = spellChecker; }, ShowLoadingPanelInDialogPopup: function() { }, Show: function(popupElement) { ASPxDialog.PushDialogToCollection(this.ownerControl, this); this.InitializePopupEvents(); this.GetDialogPopup().SetHeaderText(this.GetDialogCaptionText()); this.GetDialogPopup().ShowAtElement(popupElement); }, InitializePopupEvents: function() { func = _aspxCreateEventHandlerFunction("aspxOnSCDialogClose", this.spellChecker, false); this.GetDialogPopup().CloseUp.AddHandler(func); }, SetDialogContent: function(dialogContent) { var popupControl = this.GetDialogPopup(); popupControl.SetContentHtml(dialogContent); this.AddDialogContentToHash(this.name, dialogContent); this.GetDialogPopup().UpdatePosition(); }, HideDialog: function() { aspxSCDialogComplete(false); }, GetDialogPopup: function() { return this.spellChecker.GetDialogPopupControl(this.name); }, IsVisible: function(){ return this.GetDialogPopup().IsVisible(); }, OnInitComplete: function() { ASPxDialog.prototype.OnInitComplete.call(this); this.GetDialogPopup().UpdatePosition(); } }); SpellCheckForm = _aspxCreateClass(SCDialog , { DoCustomAction: function(result) { }, GetDialogCaptionText: function() { return this.spellChecker.spellCheckFormCaption; }, SendCallbackForDialogContent: function() { }, SetFocusInField: function() { _aspxSetFocusToTextEditWithDelay(_dxeSCTxtChangeTo.name); }, HideLoadingPanelOverDialogPopup: function() { SCDialog.prototype.HideLoadingPanelOverDialogPopup.call(this); if (this.spellChecker.formHandler.GetSCFormChangeButton()) _dxeSCBtnChange.SetEnabled(true); }, ShowLoadingPanelOverDialogPopup: function() { SCDialog.prototype.ShowLoadingPanelOverDialogPopup.call(this); _dxeSCBtnChange.SetEnabled(false); } }); SpellCheckOptionsForm = _aspxCreateClass(SCDialog , { DoCustomAction: function(result, params) { }, GetDialogCaptionText: function() { return this.spellChecker.optionsFormCaption; }, SetFocusInField: function() { } }); function aspxSCDialogComplete(result) { if(__aspxActiveSpellChecker) __aspxActiveSpellChecker.HideDialog(result); } function aspxOnSCDialogClose(spellChecker) { aspxSCDialogComplete(false); } } /* playback timings (ms): exclusion.robots: 0.225 load_resource: 67.386 PetaboxLoader3.datanode: 57.089 (4) esindex: 0.012 exclusion.robots.policy: 0.212 CDXLines.iter: 24.216 (3) captures_list: 136.098 LoadShardBlock: 106.877 (3) PetaboxLoader3.resolve: 98.192 (2) RedisCDXSource: 0.887 */