don't display 'undefined'
This commit is contained in:
parent
e6e52d53d5
commit
f5b939a1b2
2 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ oml.ui.browser = function() {
|
||||||
height: height,
|
height: height,
|
||||||
id: data.id,
|
id: data.id,
|
||||||
info: Ox.encodeHTMLEntities(info),
|
info: Ox.encodeHTMLEntities(info),
|
||||||
title: Ox.encodeHTMLEntities(data.title),
|
title: Ox.encodeHTMLEntities(data.title || ''),
|
||||||
url: '/' + data.id + '/' + ui.icons + '128.jpg?' + data.modified,
|
url: '/' + data.id + '/' + ui.icons + '128.jpg?' + data.modified,
|
||||||
width: width
|
width: width
|
||||||
};
|
};
|
||||||
|
|
|
@ -49,7 +49,7 @@ oml.ui.gridView = function() {
|
||||||
height: height,
|
height: height,
|
||||||
id: data.id,
|
id: data.id,
|
||||||
info: Ox.encodeHTMLEntities(info),
|
info: Ox.encodeHTMLEntities(info),
|
||||||
title: Ox.encodeHTMLEntities(data.title),
|
title: Ox.encodeHTMLEntities(data.title || ''),
|
||||||
url: '/' + data.id + '/' + ui.icons + '128.jpg?' + data.modified,
|
url: '/' + data.id + '/' + ui.icons + '128.jpg?' + data.modified,
|
||||||
width: width
|
width: width
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue