New: Forms authentication

This commit is contained in:
Mark McDowall 2015-01-25 18:03:21 -08:00
parent 7c38fcb9f3
commit 3c756348eb
35 changed files with 707 additions and 81 deletions

View file

@ -35,7 +35,7 @@ define(
},
onRender: function(){
if(!this.ui.authToggle.prop('checked')){
if(this.ui.authToggle.val() === 'none'){
this.ui.authOptions.hide();
}
@ -61,7 +61,7 @@ define(
_setAuthOptionsVisibility: function () {
var showAuthOptions = this.ui.authToggle.prop('checked');
var showAuthOptions = this.ui.authToggle.val() !== 'none';
if (showAuthOptions) {
this.ui.authOptions.slideDown();