Ver código fonte

Upgrade the useraccount system that support autofocus

v1.10.0 fixes https://github.com/meteor-useraccounts/core/issues/384
Maxime Quandalle 10 anos atrás
pai
commit
790a0e0a2d
2 arquivos alterados com 2 adições e 8 exclusões
  1. 2 2
      .meteor/versions
  2. 0 6
      client/components/users/events.js

+ 2 - 2
.meteor/versions

@@ -114,7 +114,7 @@ tracker@1.0.7
 ui@1.0.6
 underscore@1.0.3
 url@1.0.4
-useraccounts:core@1.9.1
-useraccounts:unstyled@1.9.1
+useraccounts:core@1.10.0
+useraccounts:unstyled@1.10.0
 webapp@1.2.0
 webapp-hashing@1.0.3

+ 0 - 6
client/components/users/events.js

@@ -1,9 +1,3 @@
-// XXX This should be handled by default (and in a better way) by useraccounts.
-// See https://github.com/meteor-useraccounts/core/issues/384
-Template.atForm.onRendered(function() {
-  this.find('input').focus();
-});
-
 Template.memberMenuPopup.events({
   'click .js-language': Popup.open('setLanguage'),
   'click .js-logout': function(evt) {