Skip to content
This repository was archived by the owner on Apr 16, 2019. It is now read-only.

Popup: Fix default property typo #635

Merged
merged 3 commits into from
Mar 30, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion plugins/af.popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
};
this.id = opts.id = opts.id || $.uuid(); //opts is passed by reference
this.addCssClass = opts.addCssClass ? opts.addCssClass : "";
this.suppressTitle = opts.suppressTitle || this.suppressTitle;
this.title = opts.suppressTitle ? "" : (opts.title || "Alert");
this.message = opts.message || "";
this.cancelText = opts.cancelText || "Cancel";
Expand Down Expand Up @@ -93,7 +94,7 @@
cancelOnly: false,
onShow: null,
autoCloseDone: true,
supressTitle: false,
suppressTitle: false,
show: function () {
var self = this;
var markup = "<div id='" + this.id + "' class='afPopup hidden "+ this.addCssClass + "'>"+
Expand Down