js: fix getkeys with locate option
authorMaximilian Krambach <maximilian.krambach@intevation.de>
Tue, 17 Jul 2018 09:07:49 +0000 (11:07 +0200)
committerMaximilian Krambach <maximilian.krambach@intevation.de>
Tue, 17 Jul 2018 09:07:49 +0000 (11:07 +0200)
commitce0379d999039131c86dc0bb83e9b8edfee1c7d4
treeac580fcb4a15f66e0f86ef9c2b7fa8e172bac6b0
parent5213a599fea0da64560f935dffbf6b27a39d4850
js: fix getkeys with locate option

--

* src/Keyring.js:
  As locate will not work with the "secret" option, the first message
  cannot be reused, thus a new one must be created here
lang/js/src/Keyring.js