From bd65c18f21ca973e90334f74e3325ae449194d42 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Sun, 11 Dec 2011 23:32:57 +0100 Subject: [PATCH] also update the data attribute holding the quota --- settings/js/users.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings/js/users.js b/settings/js/users.js index 18e7a9df10..4fea52e4a1 100644 --- a/settings/js/users.js +++ b/settings/js/users.js @@ -104,7 +104,7 @@ $(document).ready(function(){ {username:uid,quota:$(this).val()}, function(result){ img.parent().children('span').text(result.data.quota) - alert(result.data.quota); + $(this).parent().attr('data-quota',result.data.quota); } ); input.blur();