Commit 6ea6d2af authored by BytesNZ's avatar BytesNZ

Merge branch '130-remember-password-disabled' into 'master'

Resolve "Remember password disabled"

Closes #130

See merge request !43
parents bea1cff5 61382ff8
Pipeline #81505602 passed with stages
in 5 minutes and 23 seconds
......@@ -267,3 +267,4 @@
2019-07-15T06:13:37.966Z git:120-pasting-formatted-text Looking at pasting issue
2019-07-15T06:29:43.580Z git:120-pasting-formatted-text Caused by pasting objects being two strings
2019-07-15T06:49:29.078Z git:120-pasting-formatted-text 0:34:42
2019-09-10T06:39:51.136Z git:130-remember-password-disabled 0:16:17
......@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]
## [0.3.6] - 2019-09-10
### Fixed
- Enabling of saving of password when a password is entered
## [0.3.5] - 2019-09-09
### Added
......@@ -95,7 +101,8 @@ Features:
Initial placeholder release
[unreleased]: https://gitlab.com/MeldCE/first-draft/compare/v0.3.5...dev
[unreleased]: https://gitlab.com/MeldCE/first-draft/compare/v0.3.6...dev
[0.3.6]: https://gitlab.com/MeldCE/first-draft/compare/v0.3.5...v0.3.6
[0.3.5]: https://gitlab.com/MeldCE/first-draft/compare/v0.3.4...v0.3.5
[0.3.4]: https://gitlab.com/MeldCE/first-draft/compare/v0.3.3...v0.3.4
[0.3.3]: https://gitlab.com/MeldCE/first-draft/compare/v0.3.2...v0.3.3
......
# first-draft 0.3.5
# first-draft 0.3.6
FOSS live drawing and annotation tool.
......@@ -138,8 +138,6 @@ module.exports = {
// Default: "/d"
draftUri: '/d'
};
```
### Current Controls
......@@ -277,6 +275,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]
## [0.3.6] - 2019-09-10
### Fixed
- Enabling of saving of password when a password is entered
## [0.3.5] - 2019-09-09
### Added
......@@ -365,7 +369,8 @@ Features:
Initial placeholder release
[unreleased]: https://gitlab.com/MeldCE/first-draft/compare/v0.3.5...dev
[unreleased]: https://gitlab.com/MeldCE/first-draft/compare/v0.3.6...dev
[0.3.6]: https://gitlab.com/MeldCE/first-draft/compare/v0.3.5...v0.3.6
[0.3.5]: https://gitlab.com/MeldCE/first-draft/compare/v0.3.4...v0.3.5
[0.3.4]: https://gitlab.com/MeldCE/first-draft/compare/v0.3.3...v0.3.4
[0.3.3]: https://gitlab.com/MeldCE/first-draft/compare/v0.3.2...v0.3.3
......@@ -376,4 +381,3 @@ Initial placeholder release
[0.1.3]: https://gitlab.com/MeldCE/first-draft/compare/v0.1.2...v0.1.3
[0.1.2]: https://gitlab.com/MeldCE/first-draft/compare/v0.0.1...v0.1.2
[0.0.1]: https://gitlab.com/MeldCE/first-draft/tree/v0.0.1
{
"name": "first-draft",
"version": "0.3.5",
"version": "0.3.6",
"description": "FOSS live drawing and annotation tool",
"scripts": {
"start": "server/index.js",
......
......@@ -91,7 +91,14 @@ export const createForm = (
}
if (fields[field].input) {
fields[field].input.setAttribute(attribute, value);
if (value === false || value === null || typeof value === 'undefined') {
fields[field].input.removeAttribute(attribute);
} else {
fields[field].input.setAttribute(
attribute,
value === true ? '' : value
);
}
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment