Don't save after drag if task is still in edit mode

pull/6827/head
Mark Maglana 14 years ago
parent a7e1e1ad0d
commit 5e32242ae3
  1. 2
      assets/javascripts/task.js

@ -76,7 +76,7 @@ RB.Task = RB.Object.create(RB.Story, {
this.$.children('.remaining_hours.editable').text('0.0');
}
this.saveEdits();
if(!this.$.hasClass('editing')) this.saveEdits();
},
// Override RB.Story.storyUpdated()

Loading…
Cancel
Save