Wow, settings now looks pretty nice
This commit is contained in:
@@ -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');
|
||||
|
||||
@@ -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%') +'!');
|
||||
});
|
||||
})
|
||||
Reference in New Issue
Block a user