also update the data attribute holding the quota

This commit is contained in:
Robin Appelman 2011-12-11 23:32:57 +01:00
parent ccd9b56609
commit 9c6d3a83fd
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ $(document).ready(function(){
{username:uid,quota:$(this).val()}, {username:uid,quota:$(this).val()},
function(result){ function(result){
img.parent().children('span').text(result.data.quota) img.parent().children('span').text(result.data.quota)
alert(result.data.quota); $(this).parent().attr('data-quota',result.data.quota);
} }
); );
input.blur(); input.blur();