nextcloud/core/js
Daniel Calviño Sánchez 58d00bf6fb 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-05 02:45:34 +01:00
..
files Merge pull request #6079 from nextcloud/fix-antivirus 2017-12-11 17:12:02 +01:00
login Update login flow redirection 2017-05-04 19:21:22 +02:00
public format links in comments 2018-01-03 13:11:20 +01:00
systemtags Fix some long lines in JS - JSLinut recommendation 2017-05-01 00:49:00 -03:00
tests Merge pull request #7526 from nextcloud/make-possible-for-apps-to-disable-the-navigation-bar-slide-gesture 2018-01-03 00:12:54 +01:00
apps.js Fix settings button state and opacity 2017-09-28 17:13:00 +02:00
backgroundjobs.js
config.js Make AppConfig part of the public API 2016-10-21 09:09:23 +02:00
contactsmenu.js Fix contacts menu for IE11 2017-10-09 15:09:11 +02:00
core.json format links in comments 2018-01-03 13:11:20 +01:00
eventsource.js
installation.js
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-05 02:45:34 +01:00
jquery-ui-fixes.js Fix semicolon at end of JS lines 2017-05-01 00:42:53 -03:00
jquery.avatar.js Also do callback on the failing function 2017-12-19 18:49:26 +01:00
jquery.contactsmenu.js handle 404 separately 2017-04-26 09:30:21 +02:00
jquery.ocdialog.js Destroy modal when closed 2017-10-17 09:09:45 +01:00
js.js Fixed js typehint for showHtml method 2018-01-04 10:05:15 +01:00
l10n.js Harden t() with DOMPurify 2017-03-16 14:17:42 +01:00
login.js Not disabled by default 2017-11-05 17:38:29 +01:00
lostpassword.js Use javascript to send the actual password reset 2017-12-19 14:00:47 +01:00
maintenance-check.js
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 format links in comments 2018-01-03 13:11:20 +01:00
mimetype.js show e2e folder icon on encrypted folders 2017-11-20 21:00:26 +01:00
mimetypelist.js show e2e folder icon on encrypted folders 2017-11-20 21:00:26 +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
oc-dialogs.js Fix click error on oc-dialog breadcrumb 2017-11-08 13:04:40 +01:00
oc-requesttoken.js
octemplate.js Fix variable definitions in oc dialogs 2017-05-01 01:09:29 -03:00
placeholder.js Add loading icon on avatar 2017-12-19 18:49:26 +01:00
select2-toggleselect.js
setup.js Fix semicolon at end of JS lines 2017-05-01 00:42:53 -03:00
setupchecks.js Add warning regarding freetype support 2017-12-13 17:20:48 +01:00
share.js Merge pull request #6670 from nextcloud/handle-encryption-state-in-web-interface 2017-12-06 16:19:17 +01: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 Set autocomplete on share password input 2017-12-12 11:33:12 +01:00
sharedialogresharerinfoview.js Fix escaping of user and group names in "shared by" message 2017-06-13 12:14:21 +02:00
sharedialogshareelistview.js only replace permission popupmenu 2017-11-17 17:08:29 +01:00
sharedialogview.js Trigger search after re-focus 2017-08-15 13:36:51 +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 Quota bar fix on user list 2017-09-27 22:13:19 +02: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