apply styles to confirm buttons if provided

pull/1/head
ansuz 8 years ago
parent bebd40f901
commit df6298eeb6

@ -1521,6 +1521,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