pass modified to covers to avoid caching

This commit is contained in:
j 2015-03-07 20:16:59 +05:30
commit 557f4d3ea9
4 changed files with 9 additions and 8 deletions

View file

@ -48,7 +48,7 @@ oml.ui.browser = function() {
id: data.id,
info: info,
title: data.title,
url: '/' + data.id + '/' + ui.icons + '128.jpg',
url: '/' + data.id + '/' + ui.icons + '128.jpg?' + data.modified,
width: width
};
},
@ -58,7 +58,7 @@ oml.ui.browser = function() {
}), callback);
},
keys: [
'author', 'coverRatio', 'extension', 'id', 'mediastate',
'author', 'coverRatio', 'extension', 'id', 'mediastate', 'modified',
'previewRatio', 'size', 'textsize', 'title'
],
max: 1,
@ -119,4 +119,4 @@ oml.ui.browser = function() {
return that;
};
};