PageSourceSearch

https://cuyamacawaterdistrict.org/ScriptResource.axd?d=KzM8zTdN30O…o-FD3SptQTq4x5xtf2vyg_81&t=ffffffffda74082d

js cuyamacawaterdistrict.org collected 2026-10-03 02:00:58 UTC 1,778 bytes, 41 lines download raw bytes

1// Name:        HTMLEditor.Toolbar_buttons.RemoveLink.debug.js
2// Assembly:    AjaxControlToolkit
3// Version:     4.5.7.1213
4// FileVersion: 4.5.7.1213
5Type.registerNamespace("Sys.Extended.UI.HTMLEditor.ToolbarButton");
6
7Sys.Extended.UI.HTMLEditor.ToolbarButton.RemoveLink = function(element) {
8    Sys.Extended.UI.HTMLEditor.ToolbarButton.RemoveLink.initializeBase(this, [element]);
9}
10
11Sys.Extended.UI.HTMLEditor.ToolbarButton.RemoveLink.prototype = {
12    callMethod : function() {
13        if(!Sys.Extended.UI.HTMLEditor.ToolbarButton.RemoveLink.callBaseMethod(this, "callMethod")) return false;
14        var editor = this._designPanel;
15        var sel   = editor._getSelection();
16        var range = editor._createRange(sel);
17        var parent= Sys.Extended.UI.HTMLEditor.getSelParent(editor);
18        
19        if (parent.nodeType == 3) {
20            parent = parent.parentNode;
21        }
22
23        while(parent && Sys.Extended.UI.HTMLEditor.isStyleTag(parent.tagName) && parent.tagName.toUpperCase() != "A") {
24            parent = parent.parentNode;
25        }
26        
27        if(parent && parent.tagName.toUpperCase() == "A") {
28            editor._saveContent();
29            var el = parent.firstChild;
30
31            while(parent.firstChild) parent.parentNode.insertBefore(parent.firstChild,parent);
32
33            parent.parentNode.removeChild(parent);
34            if(el) Sys.Extended.UI.HTMLEditor._setCursor(el,editor);
35            setTimeout(function() {editor._editPanel.updateToolbar();}, 0);
36            editor.onContentChanged();
37        }
38    }
39}
40
41Sys.Extended.UI.HTMLEditor.ToolbarButton.RemoveLink.registerClass("Sys.Extended.UI.HTMLEditor.ToolbarButton.RemoveLink", Sys.Extended.UI.HTMLEditor.ToolbarButton.MethodButton);

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.