mirror of https://gitee.com/bigwinds/arangodb
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:
parent
b11fb4e084
commit
56febfd721
|
@ -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
|
||||
|
|
|
@ -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});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue