1
0
mirror of http://git.whoc.org.uk/git/password-manager.git synced 2025-12-19 12:57:02 +01:00

Added HTML native support for auto-completion in tag editor

Not sure on which browser this feature is working; only tested in Chrome for Mac.
This commit is contained in:
Giulio Cesare Solaroli
2015-03-03 17:42:25 +01:00
parent 03ce1d3497
commit 2368d471e8
7 changed files with 53 additions and 34 deletions

View File

@@ -242,12 +242,11 @@ console.log("THE BROWSER IS OFFLINE");
shouldShowRegistrationForm = parameters['shouldShowRegistrationForm'] && canRegisterNewUsers;
this.pages()['loginPage'].setProps({'mode':this.loginMode(), 'isNewUserRegistrationAvailable':canRegisterNewUsers});
this.showLoginForm();
if (shouldShowRegistrationForm) {
this.showRegistrationForm_handler();
} else {
this.showLoginForm();
}
// this.overlay().done("", 0.5);
this.overlay().hide();
},
@@ -725,6 +724,9 @@ console.log("THE BROWSER IS OFFLINE");
// MochiKit.Base.method(this.user(), 'getTags', this.shouldIncludeArchivedCards()),
MochiKit.Base.method(this, 'allTags', this.shouldIncludeArchivedCards()),
MochiKit.Base.method(this, 'setPageProperties', 'mainPage', 'tags'),
MochiKit.Base.method(this, 'allTags', true || this.shouldIncludeArchivedCards()),
MochiKit.Base.keys,
MochiKit.Base.method(this, 'setPageProperties', 'mainPage', 'allTags'),
MochiKit.Base.method(this, 'getAllCardsCount'),
MochiKit.Base.method(this, 'setPageProperties', 'mainPage', 'allCardsCount'),
MochiKit.Base.method(this, 'getArchivedCardsCount'),