@ -185,10 +185,6 @@ RB.Backlog = RB.Object.create(RB.Model, {
isSprint: function(){
return $(this.el).hasClass('sprint');
},
markSaving: function(){
this.$.addClass('saving');
loadStoryTemplate: function(){
$.ajax({
@ -199,6 +195,10 @@ RB.Backlog = RB.Object.create(RB.Model, {
complete: function(xhr, textStatus){ $(xhr.responseText).removeClass("story").appendTo("#content").wrap("<div id='story_template'/>") } // removeClass() ensures that $(".story") will not include this node
});
newStory: function(){
if($('#story_template').size()==0){