2016 -> 2017

+ Small fixes
This commit is contained in:
RainLoop Team 2017-02-15 00:06:51 +03:00
parent 39c07bfc13
commit 6a6f420c76
16 changed files with 297 additions and 294 deletions

View file

@ -85,7 +85,10 @@
padding: 10px;
background-color: #eee;
color: #333;
overflow:scroll;
html.rl-mobile &{
overflow: scroll;
}
.e-identity {
@ -111,11 +114,12 @@
.e-label {
text-align: right;
width: 1%;
min-width: 50px;
padding: 6px 10px 6px 0px;
min-width: 70px;
padding: 6px 10px;
html.rl-modal {
html.rl-mobile &{
min-width: 50px;
padding: 6px 10px 6px 0px;
}
}

View file

@ -86,7 +86,7 @@ class ActivatePopupView extends AbstractViewNext
this.key.focus(true);
}
}, this.domain(), this.key());
}, this.domain(), this.key().replace(/[^A-Z0-9\-]/gi, ''));
}
else
{
@ -122,7 +122,7 @@ class ActivatePopupView extends AbstractViewNext
*/
validateSubscriptionKey() {
const value = this.key();
return '' === value || RAINLOOP_TRIAL_KEY === value || !!(/^RL[\d]+-[A-Z0-9\-]+Z$/).test(trim(value));
return '' === value || RAINLOOP_TRIAL_KEY === value || !!(/^RL[\d]+-[A-Z0-9\-]+Z$/).test(trim(value).replace(/[^A-Z0-9\-]/gi, ''));
}
}