PageSourceSearch

https://www.columbiarivermoto.com/DesktopModules/Dominion/Common/Scripts/DialogUtil.js?cdv=1220

js columbiarivermoto.com collected 2026-09-30 18:50:53 UTC 1,773 bytes, 45 lines download raw bytes

1(function ($) {
2
3    if (!window.DialogUtil) {
4        window.DialogUtil = {};
5    }
6
7    function getModalHtml(title, content) {
8        var modalHtml = '\
9        <div class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">\
10          <div class="modal-dialog">\
11            <div class="modal-content">\
12              <div class="modal-header">\
13                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>\
14                <h4 class="modal-title">' + title + '</h4>\
15              </div>\
16              <div class="modal-body">' + content + '</div>\
17              <div class="modal-footer">\
18              </div>\
19            </div>\
20          </div>\
21        </div>';
22        return modalHtml;
23    }
24
25    DialogUtil.showDialog = function (title, content) {
26        var deferred = $.Deferred();
27        var modalHtml = getModalHtml(title, content);
28        var $modal = $(modalHtml);
29        $("body").append($modal);
30        $modal.modal({ show: true, backdrop: "static" });
31        $modal.one("hidden.bs.modal", function () {
32            $modal.remove();
33            deferred.resolve();
34        });
35        return deferred.promise();
36    };
37
38    DialogUtil.showMonthlyPaymentDisclaimer = function () {
39        var title = "Monthly Payment Disclaimer";
40        var content = "This is not an offer for credit and should be used for estimation purposes only. You should not base your decision on this estimate alone. Title, registration, tax and other fees, and personal circumstances such as employment status and personal credit history, were not considered in the calculations.";
41        DialogUtil.showDialog(title, content);
42    }
43
44    return self;
45}(jQuery));

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.