Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/passman.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorbrantje <brantje@gmail.com>2016-12-19 19:51:59 +0300
committerbrantje <brantje@gmail.com>2016-12-19 20:04:00 +0300
commit892965e86998248f4da87fcc5a1268c37b26a0f3 (patch)
tree7a12dc8ee7a263b98ae73f1727bc0e1ae4e9df7c /js
parentc573f2d3de69095e095027d146a1662f31bbe21e (diff)
Fix for NC12 $container->getDb()
Diffstat (limited to 'js')
-rw-r--r--js/app/controllers/edit_credential.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/app/controllers/edit_credential.js b/js/app/controllers/edit_credential.js
index 73d5ee21..930b3ca2 100644
--- a/js/app/controllers/edit_credential.js
+++ b/js/app/controllers/edit_credential.js
@@ -329,7 +329,7 @@
delete _credential.shared_key;
var _useKey = (key != null);
var regex = /(<([^>]+)>)/ig;
- if(_credential.description && _credential.description != "") {
+ if(_credential.description && _credential.description !== "") {
_credential.description = _credential.description.replace(regex, "");
}
CredentialService.updateCredential(_credential, _useKey).then(function () {