Wow, settings now looks pretty nice

This commit is contained in:
magnolia-fan
2011-06-22 08:52:56 +04:00
parent 7f9af6d863
commit 47b21961a0
3 changed files with 13 additions and 19 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ var Pages = {
},
renderSettings: function(data) {
$('#data-container').css('background', 'url(/images/concrete_wall_2.png) 0 -30px repeat');
$('#data-container').css('background', 'none');
$('#data-container .inner').html(data);
yaCounter7596904.hit(Ajax.getAnchor(), 'Settings', Ajax.referer);
Ajax.setTitle('Settings');
+1 -1
View File
@@ -37,6 +37,6 @@ $('.settings-container .form input').live('blur', function(){
'email': $('.settings-container .form input[name$="email"]').first().val(),
};
Settings.saveAccountInfo(params, function(){
console.log('saved');
$('#header-container .hello .greating').text('Hi there, '+ (params.username.length > 0 ? params.username : '%username%') +'!');
});
})