PageSourceSearch

https://aussiefloyd.com/ScriptResource.axd?d=EXWIuwy2FJDUig0tVaCLD…R3rCs7XJzMB0Hx9FbsMnJ1gJLfqLdkc1&t=51e37521

js aussiefloyd.com collected 2026-10-02 06:18:05 UTC 2,557 bytes, 71 lines download raw bytes

1// Name:        HTMLEditor.Toolbar_buttons.SelectButton.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.SelectButton = function(element) {
8    Sys.Extended.UI.HTMLEditor.ToolbarButton.SelectButton.initializeBase(this, [element]);
9    
10    this._onclick_option$delegate = Function.createDelegate(this, this._onclick_option);
11    this._onchange$delegate = Function.createDelegate(this, this._onchange);
12}
13
14Sys.Extended.UI.HTMLEditor.ToolbarButton.SelectButton.prototype = {
15    
16    initialize : function() {
17        var nodeId = this.get_element().id;
18        Sys.Extended.UI.HTMLEditor.ToolbarButton.SelectButton.callBaseMethod(this, "initialize");
19        this._select =  $get(nodeId+"_select");
20        
21        $addHandler(this._select, "change", this._onchange$delegate);
22        for(var i=0; i < this._select.options.length; i++) {
23            var option = this._select.options[i];
24            $addHandler(option, "click", this._onclick_option$delegate);
25        }
26    },
27    
28    dispose : function() {
29        for(var i=0; i < this._select.options.length; i++) {
30            var option = this._select.options[i];
31            $removeHandler(option, "click", this._onclick_option$delegate);
32        }
33
34        $removeHandler(this._select, "change", this._onchange$delegate);
35        Sys.Extended.UI.HTMLEditor.ToolbarButton.SelectButton.callBaseMethod(this, "dispose");
36    },
37    
38    isImage : function() {
39        return false;
40    },
41    
42    
43    callMethod : function(select,e) {
44        return true;
45    },
46    
47    _onclick_option : function(e) {
48        if (!this.isEnable()) {
49            return false;
50        }
51        var option = e.target;
52        option.parentNode.value=option.value;
53        Sys.Extended.UI.HTMLEditor._stopEvent(e);
54        if(!Sys.Extended.UI.HTMLEditor.isSafari) return false;
55        this.callMethod(option.parentNode,e);
56        return true;
57    },
58    
59    _onchange : function(e) {
60        if (!this.isEnable()) {
61            return false;
62        }
63        var select = e.target;
64        Sys.Extended.UI.HTMLEditor._stopEvent(e);
65        this.callMethod(select,e);
66        return true;
67    }
68}
69
70Sys.Extended.UI.HTMLEditor.ToolbarButton.SelectButton.registerClass("Sys.Extended.UI.HTMLEditor.ToolbarButton.SelectButton", Sys.Extended.UI.HTMLEditor.ToolbarButton.CommonButton);
71

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.