diff --git a/pyweb/mumble/templates/mumble/mumble.html b/pyweb/mumble/templates/mumble/mumble.html
index 7443dc9..70f7bcb 100644
--- a/pyweb/mumble/templates/mumble/mumble.html
+++ b/pyweb/mumble/templates/mumble/mumble.html
@@ -131,7 +131,7 @@
flex: 1,
height: 200,
title: gettext("Texture"),
- html: String.format('',
+ html: String.format('',
"{% url mumble.views.showTexture MumbleServer.id MumbleAccount.id %}"),
}, {
flex: 1,
@@ -157,7 +157,18 @@
}],
buttons: [{
text: gettext('Submit'),
- handler: function(){ this.ownerCt.ownerCt.getForm().submit(); },
+ handler: function(){
+ this.ownerCt.ownerCt.getForm().submit({
+ success: function(form, action){
+ 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 %}?_dc=",
+ now.getTime()
+ );
+ }
+ });
+ },
}],
}],
},