diff --git a/packages/accounts-ui-unstyled/login_buttons_dialogs.html b/packages/accounts-ui-unstyled/login_buttons_dialogs.html index b755806740..a1564a4a92 100644 --- a/packages/accounts-ui-unstyled/login_buttons_dialogs.html +++ b/packages/accounts-ui-unstyled/login_buttons_dialogs.html @@ -97,7 +97,7 @@ × -
diff --git a/packages/accounts-ui-unstyled/login_buttons_dialogs.js b/packages/accounts-ui-unstyled/login_buttons_dialogs.js index 9362acd36b..346815e56f 100644 --- a/packages/accounts-ui-unstyled/login_buttons_dialogs.js +++ b/packages/accounts-ui-unstyled/login_buttons_dialogs.js @@ -226,11 +226,8 @@ Template._configureLoginServiceDialog.configurationSteps = function () { return configureLoginServiceDialogTemplateForService(); }; -Template._configureLoginServiceDialog.additionalClasses = function () { - if (loginButtonsSession.get('configureLoginServiceDialogSaveDisabled')) - return "login-button-disabled"; - else - return ""; +Template._configureLoginServiceDialog.saveDisabled = function () { + return loginButtonsSession.get('configureLoginServiceDialogSaveDisabled'); }; // XXX from http://epeli.github.com/underscore.string/lib/underscore.string.js diff --git a/packages/accounts-ui-unstyled/login_buttons_single.html b/packages/accounts-ui-unstyled/login_buttons_single.html index 2b262484d8..e83d484116 100644 --- a/packages/accounts-ui-unstyled/login_buttons_single.html +++ b/packages/accounts-ui-unstyled/login_buttons_single.html @@ -1,6 +1,6 @@