1// Name: HTMLEditor.Toolbar_buttons.DesignModeSelectButton.debug.js 2// Assembly: AjaxControlToolkit 3// Version: 4.5.7.1005 4// FileVersion: 4.5.7.1005 5Type.registerNamespace("Sys.Extended.UI.HTMLEditor.ToolbarButton"); 6 7Sys.Extended.UI.HTMLEditor.ToolbarButton.DesignModeSelectButton = function(element) { 8 Sys.Extended.UI.HTMLEditor.ToolbarButton.DesignModeSelectButton.initializeBase(this, [element]); 9 this._designPanel = null; 10} 11 12Sys.Extended.UI.HTMLEditor.ToolbarButton.DesignModeSelectButton.prototype = { 13 onEditPanelActivity: function() { 14 this._designPanel = this._editPanel.get_activePanel(); 15 this.checkState() 16 }, 17 18 19 checkState: function() { 20 if (!this.checkRangeInDesign()) return false; 21 return true; 22 }, 23 24 callMethod: function(select, e) { 25 if (!Sys.Extended.UI.HTMLEditor.ToolbarButton.DesignModeSelectButton.callBaseMethod(this, "callMethod")) return false; 26 if (this._designPanel == null) return false; 27 if (this._designPanel.isPopup()) return false; 28 29 return true; 30 } 31} 32 33Sys.Extended.UI.HTMLEditor.ToolbarButton.DesignModeSelectButton.registerClass("Sys.Extended.UI.HTMLEditor.ToolbarButton.DesignModeSelectButton", Sys.Extended.UI.HTMLEditor.ToolbarButton.SelectButton); 34
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.