Commit 6c6bcafd authored by Jonny Bradley's avatar Jonny Bradley

[FIX] modals: Param options still needs initialising if not supplied, the...

[FIX] modals: Param options still needs initialising if not supplied, the problem here was a missing | char making it a bitwise or, not a comparison (my fault, sorry, reverts and fixes r54233)
parent 5f5a24d7
......@@ -3471,6 +3471,7 @@ $.openModal = function (options) {
};
$.closeModal = function (options) {
options = options || {};
var done = options.done;
if (done) {
done = function () {
......
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