Skip to content

Commit

Permalink
styling changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Connor committed Aug 4, 2011
1 parent 7460ed3 commit 707113e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 11 deletions.
Binary file modified public/javascripts/.songs.js.swp
Binary file not shown.
15 changes: 5 additions & 10 deletions public/javascripts/songs.js
Expand Up @@ -114,13 +114,8 @@ $(function(){
},

setContent: function() {
// var title = this.model.get('title');
// var artist = this.model.get('artist');
// this.$('.todo-content').text(content);
// this.input = this.$('.todo-input');
// this.input.bind('blur', this.close);
// this.input.val(content);
},

},
});

window.ErrorView = Backbone.View.extend({
Expand All @@ -145,8 +140,9 @@ $(function(){

events: {
"submit form#new_song": "createSong",
"keypress input#song_artist": "createOnEnter"
},
"keypress input#song_artist": "createOnEnter",
"keypress input#song_track": "createOnEnter"
},

initialize: function(){
_.bindAll(this, 'addOne', 'addAll');
Expand All @@ -165,7 +161,6 @@ $(function(){
this.$("#song_list").append(view.render().el);
}
else {
//console.log("Error");
var error = new ErrorView({model:song});
this.$("#flash_space").html(error.render().el);
}
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion public/stylesheets/style.css
Expand Up @@ -116,7 +116,7 @@ li div.icons {
.genre {
background-attachment:initial;
background-clip:initial;
background-color:#709B9A;
background-color:#BFA9A1;
background-image:initial;
background-origin:initial;
border-bottom-left-radius:10px 10px;
Expand Down

0 comments on commit 707113e

Please sign in to comment.