Fixed bug with me page.

This commit is contained in:
=
2012-10-02 21:14:32 +01:00
parent a1970ade45
commit 192814388e
4 changed files with 9447 additions and 4 deletions

View File

@@ -38,7 +38,10 @@ window.UserView = Backbone.View.extend({
);
});
$("#div_avatar_image", this.el).hide();
$('#' + this.model.get('avatar_type'), this.el).attr('checked', 'checked');
var avatarType = this.model.get('avatar_type');
if (!com.podnoms.utils.isEmpty(avatarType))
$('#' + this.model.get('avatar_type'), this.el).attr('checked', 'checked');
//console.clear();
return this;
},

9440
static/js/libs/jquery.js vendored Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long