Commit 868c5373 authored by markcarver's avatar markcarver

Issue #3016697 by markcarver, nrusse02: The "show" and "toggle" methods for...

Issue #3016697 by markcarver, nrusse02: The "show" and "toggle" methods for modals no longer initializes
parent c6d1242b
......@@ -211,7 +211,7 @@
}
// If show is enabled and currently not shown, show it.
if (this.options.show && !this.isShown) {
if (this.options.jQueryUiBridge && this.options.show && !this.isShown) {
this.show();
}
},
......
......@@ -149,7 +149,8 @@
var initialize = false;
// Immediately return if there's no instance to invoke a valid method.
if (!data && method && method !== 'open') {
var showMethods = ['open', 'show', 'toggle'];
if (!data && method && showMethods.indexOf(method) === -1) {
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment