apply styles to confirm buttons if provided

pull/1/head
ansuz 8 years ago
parent 07a2d8e189
commit f2aa531f27

@ -1520,6 +1520,11 @@ define([
cb(false); cb(false);
stopListening(keyHandler); stopListening(keyHandler);
}); });
window.setTimeout(function () {
if (opt.okClass) { findOKButton().addClass(opt.okClass); }
if (opt.cancelClass) { findCancelButton().addClass(opt.cancelClass); }
}, 0);
}; };
common.log = function (msg) { common.log = function (msg) {

Loading…
Cancel
Save