From f94bcff55e4f4e7d2cd8587e1b2f6ea36a79e795 Mon Sep 17 00:00:00 2001 From: Michael Ziegler Date: Sat, 13 Nov 2010 15:44:11 +0100 Subject: [PATCH] showTexture expects the mumbleid, not MumbleUser.id --- pyweb/mumble/templates/mumble/mumble.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyweb/mumble/templates/mumble/mumble.html b/pyweb/mumble/templates/mumble/mumble.html index 9aa33b1..f574161 100644 --- a/pyweb/mumble/templates/mumble/mumble.html +++ b/pyweb/mumble/templates/mumble/mumble.html @@ -193,7 +193,7 @@ height: 200, title: gettext("Texture"), html: String.format('Avatar', - "{% url mumble.views.showTexture MumbleServer.id MumbleAccount.id %}") + "{% url mumble.views.showTexture MumbleServer.id MumbleAccount.mumbleid %}") }, { flex: 1, height: 200, @@ -224,7 +224,7 @@ var now = new Date(); var img = Ext.fly("img_avatar"); img.dom.src = String.format("{0}?_dc={1}", - "{% url mumble.views.showTexture MumbleServer.id MumbleAccount.id %}", + "{% url mumble.views.showTexture MumbleServer.id MumbleAccount.mumbleid %}", now.getTime() ); }