PageSourceSearch

https://www.foxboroughma.gov/Common/controls/ContentItemModern/scripts/utility/spinnerAlertCI.js

js foxboroughma.gov collected 2026-10-02 10:31:58 UTC 1,107 bytes, 44 lines download raw bytes

1var spinnerAlertModuleCI = function (ctrl) {
2
3    /*
4    Note: IE has a bug where it freezes animated GIFs after you've clicked on an anchor. If you need to cater for this, see Web: \cms\portlets\CMSToolbarPageControls.ascx.cs in the 
5    RenderDesignModeChangeSpinner() method for appropriate code. 
6    */
7
8    //Public methods:
9
10    var initialiseSpinner = function(settings) {
11
12        $(ctrl).attr('title', settings.title);
13        $(ctrl).html("<img id='imgSpinnerAlert' src='" + settings.imageURL + "' alt='" + settings.imageAltText + "' />");
14
15        $(ctrl).dialog({
16            modal: true,
17            resizable: false,
18            width: settings.width,
19            draggable: false,
20            dialogClass: settings.cssClass
21        });
22
23        
24
25        hide();
26
27    }
28
29    var show = function () {
30        $(ctrl).dialog("open");
31    }
32
33    var hide = function () {
34        $(ctrl).dialog("close");
35    }
36
37    //Public methods exposed:
38    return {
39        initialiseSpinner: initialiseSpinner,
40        show: show,
41        hide: hide
42    }
43
44};

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.