diff --git a/static/js/info.js b/static/js/info.js index 10f2233..6262817 100644 --- a/static/js/info.js +++ b/static/js/info.js @@ -25,6 +25,7 @@ oml.ui.info = function() { that.updateElement = function() { var id = ui.item || ui.listSelection[0]; + Ox.Request.clearCache('get'); if (id) { oml.api.get({ id: id, @@ -36,7 +37,10 @@ oml.ui.info = function() { var data = result.data; that.empty(); $('') - .attr({src: '/' + id + '/cover128.jpg?' + data.modified}) + .attr({ + src: '/' + id + '/' + ui.icons + '128.jpg?' + + data.modified + }) .css({margin: '16px 0 8px 0'}) .appendTo(that); $('
')