Fixed relative link
Change-Id: I9e4ead9bef1d034149364f39fff189ded0bf7bb2
This commit is contained in:
parent
2bb172ff07
commit
088bbf14ec
|
@ -57,7 +57,7 @@ angular.module('bansho.table', ['bansho.datasource',
|
||||||
// Table functions.
|
// Table functions.
|
||||||
$scope.createUrl = function (entry, attributes) {
|
$scope.createUrl = function (entry, attributes) {
|
||||||
if (attributes.url) {
|
if (attributes.url) {
|
||||||
var url = "/#/view?view=" + attributes.url.view;
|
var url = "#/view?view=" + attributes.url.view;
|
||||||
angular.forEach(attributes.url.params, function (value) {
|
angular.forEach(attributes.url.params, function (value) {
|
||||||
url += '&' + value.urlParam + '=' + entry[value.entryKey];
|
url += '&' + value.urlParam + '=' + entry[value.entryKey];
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue