Apply correct style to registration confirm modal
parent
d8348ec905
commit
846a9d3252
|
@ -2,9 +2,11 @@
|
|||
@import (reference) "../include/colortheme-all.less";
|
||||
@import (reference) "../include/alertify.less";
|
||||
@import (reference) "../include/checkmark.less";
|
||||
@import (reference) "../include/forms.less";
|
||||
|
||||
&.cp-page-register {
|
||||
.infopages_main();
|
||||
.forms_main();
|
||||
|
||||
.alertify_main();
|
||||
.checkmark_main(20px);
|
||||
|
|
|
@ -647,9 +647,6 @@ define([
|
|||
var $ok = $(ok).click(function (ev) { close(true, ev); });
|
||||
var $cancel = $(cancel).click(function (ev) { close(false, ev); });
|
||||
|
||||
if (opt.cancelClass) { $cancel.addClass(opt.cancelClass); }
|
||||
if (opt.okClass) { $ok.addClass(opt.okClass); }
|
||||
|
||||
listener = listenForKeys(function () {
|
||||
$ok.click();
|
||||
}, function () {
|
||||
|
|
|
@ -118,7 +118,7 @@ define([
|
|||
/* If we're certain that we aren't using these "*Class" APIs
|
||||
anywhere else then we can deprecate them and make this a
|
||||
custom modal in common-interface (or here). */
|
||||
cancelClass: 'btn.btn-primary',
|
||||
cancelClass: 'btn.btn-safe',
|
||||
okClass: 'btn.btn-danger',
|
||||
reverseOrder: true,
|
||||
done: function ($dialog) {
|
||||
|
|
Loading…
Reference in New Issue