Fixed relative link

Change-Id: I9e4ead9bef1d034149364f39fff189ded0bf7bb2
This commit is contained in:
aviau 2015-08-20 10:21:19 -04:00
parent 2bb172ff07
commit 088bbf14ec
1 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ angular.module('bansho.table', ['bansho.datasource',
// Table functions.
$scope.createUrl = function (entry, attributes) {
if (attributes.url) {
var url = "/#/view?view=" + attributes.url.view;
var url = "#/view?view=" + attributes.url.view;
angular.forEach(attributes.url.params, function (value) {
url += '&' + value.urlParam + '=' + entry[value.entryKey];
});
@ -93,7 +93,7 @@ angular.module('bansho.table', ['bansho.datasource',
if (!attributes) {
throw new Error('Directive bansho-cell "attributes" attribute must be defined');
}
if (attrs.type == 'cell-single') {
template += 'cell_single/cell_single.html';
scope.attributes = attributes;