Fix #2232 : WebUI: Flag Icon path in Peers Tab missing deluge.config.base

This commit is contained in:
clippit 2012-12-09 19:06:40 +00:00 committed by Calum Lind
parent 848b14605e
commit ac6785eb1a
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@
if (!value.replace(' ', '').replace(' ', '')){
return '';
}
return String.format('<img src="flag/{0}" />', value);
return String.format('<img src="{0}flag/{1}" />', deluge.config.base, value);
}
function peerAddressRenderer(value, p, record) {
var seed = (record.data['seed'] == 1024) ? 'x-deluge-seed' : 'x-deluge-peer';