fixing arrangement of methods

pull/6827/head
Mark Maglana 14 years ago
parent 8d0ff76712
commit 30e81e530d
  1. 8
      assets/javascripts/backlog.js

@ -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
});
},
markSaving: function(){
this.$.addClass('saving');
},
newStory: function(){
if($('#story_template').size()==0){

Loading…
Cancel
Save