1
0
Fork 0

Bug fix/from and to ui document view refs (#2834)

* general graph module and UI now supporting sharded and replicated graph

* fixed a bug when the _from and _to refs in the document view ui were not working for special characters

* CHANGELOG
This commit is contained in:
Heiko 2017-07-19 13:44:33 +02:00 committed by Frank Celler
parent b11fb4e084
commit 56febfd721
2 changed files with 8 additions and 0 deletions

View File

@ -1,6 +1,8 @@
devel
-----
* ui: fixed document view _from and _to linking issue for special characters
* added function `db._parse(query)` for parse an AQL query and return information about it
* fixed one medium priority and two low priority security user interface

View File

@ -156,6 +156,12 @@
navigateToDocument: function (e) {
var navigateTo = $(e.target).attr('documentLink');
var test = (navigateTo.split('%').length - 1) % 3;
if (decodeURIComponent(navigateTo) !== navigateTo && test !== 0) {
navigateTo = decodeURIComponent(navigateTo);
}
if (navigateTo) {
window.App.navigate(navigateTo, {trigger: true});
}