nextcloud/core/js
Daniel Calviño Sánchez 43c8a2128f Fix password displayed as username in Firefox password manager dialog
When finishing the setup of Nextcloud through the WebUI (setting admin
user and database) Firefox offers to save the username and password.
However, the password was shown in both the username and password fields
of the Firefox password manager dialog.

The problem was that the password input element (in the HTML form) is
cloned in a text input element, which is used to show the password in
plain text when clicking on the "Show password" button. As it was a text
input immediately followed by a password input Firefox seemed to assume
that it had to be the username and ignored the real username field, no
matter the value set for the "autocomplete" attribute. Now the cloned
text input is added after the password input, so Firefox no longer
thinks that the cloned text input is the username field and the password
manager dialog shows the proper username instead.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-11 16:33:38 +01:00
..
files fix parsing of dav permissions 2017-07-17 15:40:49 +02:00
login Update login flow redirection 2017-05-04 19:21:22 +02:00
public Use dot notation for array access - JSLint recommendation 2017-05-01 00:45:41 -03:00
systemtags Fix some long lines in JS - JSLinut recommendation 2017-05-01 00:49:00 -03:00
tests Update setupchecks.js 2017-06-12 17:18:20 -05:00
apps.js Remove padding from apps navigation if there is no settings area 2016-11-23 18:41:35 +01:00
backgroundjobs.js Use tooltip for background jobs info tooltip 2016-07-13 13:01:17 +02:00
config.js Make AppConfig part of the public API 2016-10-21 09:09:23 +02:00
contactsmenu.js Merge pull request #6823 from nextcloud/stable12-fix/contactsmenu-ie11 2017-10-13 19:54:05 +02:00
core.json add contactsmenu popover 2017-04-26 09:26:53 +02:00
eventsource.js Encode requesttoken 2015-02-16 20:28:30 +01:00
installation.js load showpassord.js conditionally in the template only if needed 2014-12-16 18:45:37 +01:00
integritycheck-failed-notification.js Allow to dismiss the code integrity warning 2016-10-20 11:33:29 +02:00
jquery-showpassword.js Fix password displayed as username in Firefox password manager dialog 2018-01-11 16:33:38 +01:00
jquery-ui-fixes.js Fix semicolon at end of JS lines 2017-05-01 00:42:53 -03:00
jquery.avatar.js Fix tests 2017-03-29 22:54:08 +02:00
jquery.contactsmenu.js handle 404 separately 2017-04-26 09:30:21 +02:00
jquery.ocdialog.js move more sizing logic to css 2016-11-28 14:05:46 +01:00
js.js Fixes nextcloud/gallery#269 2017-08-14 22:21:42 +02:00
l10n.js Harden t() with DOMPurify 2017-03-16 14:17:42 +01:00
login.js bring back dedicated log in button to make log in more usable 2016-10-06 16:48:10 +02:00
lostpassword.js Disable the API endpoints as well 2017-05-11 17:03:57 +02:00
maintenance-check.js Use OC.webroot instead of calculating the URL 2015-05-11 17:01:57 +02:00
merged-login.json Merge login JS 2017-03-24 21:18:24 +01:00
merged-share-backend.json Merge sharing backend JS 2017-03-24 20:17:38 +01:00
merged-template-prepend.json Add select2-toggleselect to the JavaScript files to load 2017-07-11 13:02:09 +02:00
mimetype.js Theming: Code cleanup and cache buster for mime icons 2016-11-18 10:23:24 +01:00
mimetypelist.js recognize LDIF (and schema) file types 2017-01-06 12:25:16 +01:00
multiselect.js Users page lazy multiselect group dropdowns 2016-08-29 13:34:13 +02:00
oc-backbone-webdav.js Backbone Webdav Adapter MKCOL support 2017-03-17 00:08:48 -06:00
oc-backbone.js Backbone transport for Webdav 2016-01-16 11:28:04 +01:00
oc-dialogs.js Merge pull request #4610 from nextcloud/js-semicolons 2017-05-01 16:55:35 +02:00
oc-requesttoken.js Do not add sensitive request headers for cross domain requests 2015-09-15 11:42:13 +02:00
octemplate.js Fix variable definitions in oc dialogs 2017-05-01 01:09:29 -03:00
placeholder.js Fix semicolon at end of JS lines 2017-05-01 00:42:53 -03:00
select2-toggleselect.js Added system tags GUI in sidebar 2016-01-19 16:24:26 +01:00
setup.js Fix semicolon at end of JS lines 2017-05-01 00:42:53 -03:00
setupchecks.js Update setupchecks.js 2017-06-12 17:18:20 -05:00
share.js Merge pull request #4611 from nextcloud/js-use-dot-notation 2017-05-02 21:44:44 +02:00
shareconfigmodel.js allow admin to enforce password on mail shares 2017-04-20 16:33:26 +02:00
sharedialogexpirationview.js Fix some jshint issues in core/js/share* 2016-08-19 21:03:25 +02:00
sharedialoglinkshareview.js Remove the char because it breaks the export from transifex 2017-06-12 15:40:41 -05:00
sharedialogresharerinfoview.js add contactsmenu popover to resharer infobox 2017-04-26 09:28:14 +02:00
sharedialogshareelistview.js only replace permission popupmenu 2017-11-23 12:08:29 +01:00
sharedialogview.js Trigger search after re-focus 2017-08-15 13:40:35 +02:00
shareitemmodel.js Make files drop more permanent 2017-05-04 00:30:51 +02:00
sharesocialmanager.js Allow social sharing to specify if a new window is opened 2017-04-20 16:32:46 +02:00
singleselect.js Fix semicolon at end of JS lines 2017-05-01 00:42:53 -03:00
update.js Spacing 2017-03-15 06:35:40 +00:00
visitortimezone.js Save the timezone on login again 2016-12-08 10:45:24 +01:00