MCPcopy Create free account
hub / github.com/apache/cloudstack / Modal

Function Modal

tools/ngui/static/bootstrap/js/bootstrap.js:89–94  ·  view source on GitHub ↗
(element, options)

Source from the content-addressed store, hash-verified

87 * ====================== */
88
89 var Modal = function (element, options) {
90 this.options = options
91 this.$element = $(element)
92 .delegate('[data-dismiss="modal"]', 'click.dismiss.modal', $.proxy(this.hide, this))
93 this.options.remote && this.$element.find('.modal-body').load(this.options.remote)
94 }
95
96 Modal.prototype = {
97

Callers

nothing calls this directly

Calls 3

$Function · 0.85
findMethod · 0.65
loadMethod · 0.45

Tested by

no test coverage detected