1// Name: HTMLEditor.Toolbar_buttons.ColorSelector.debug.js 2// Assembly: AjaxControlToolkit 3// Version: 4.1.7.1213 4// FileVersion: 4.1.7.1213 5Type.registerNamespace("Sys.Extended.UI.HTMLEditor.ToolbarButton"); 6 7Sys.Extended.UI.HTMLEditor.ToolbarButton.ColorSelector = function(element) { 8 Sys.Extended.UI.HTMLEditor.ToolbarButton.ColorSelector.initializeBase(this, [element]); 9 10 this._fixedColorButton = null; 11} 12 13Sys.Extended.UI.HTMLEditor.ToolbarButton.ColorSelector.prototype = { 14 15 get_fixedColorButton: function() { 16 return this._fixedColorButton; 17 }, 18 19 set_fixedColorButton: function(value) { 20 this._fixedColorButton = value; 21 }, 22 23 callMethod: function() { 24 if (!Sys.Extended.UI.HTMLEditor.ToolbarButton.ColorSelector.callBaseMethod(this, "callMethod")) return false; 25 this.openPopup(Function.createDelegate(this, this._onopened)); 26 27 return true; 28 }, 29 30 _onopened: function(contentWindow) { 31 contentWindow.setColor = Function.createDelegate(this, this.setColor); 32 }, 33 34 setColor: function(color) { 35 this.closePopup(); 36 if (this._fixedColorButton != null) { 37 this._fixedColorButton.set_defaultColor(color); 38 } 39 } 40} 41 42Sys.Extended.UI.HTMLEditor.ToolbarButton.ColorSelector.registerClass("Sys.Extended.UI.HTMLEditor.ToolbarButton.ColorSelector", Sys.Extended.UI.HTMLEditor.ToolbarButton.Selector); 43
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.