Bring back real-time updates for master backlog

pull/6827/head
Mark Maglana 14 years ago
parent a7c3561047
commit 785b0c50b3
  1. 9
      assets/javascripts/backlogs_updater.js
  2. 2
      assets/javascripts/board_updater.js

@ -1,4 +1,13 @@
RB.BacklogsUpdater = RB.Object.create(RB.BoardUpdater, {
processAllItems: function(data){
var self = this;
// Process all stories
var items = $(data).children('.story');
items.each(function(i, v){
self.processItem(v, false);
});
},
processItem: function(html){
var update = RB.Factory.initialize(RB.Story, html);

@ -77,7 +77,7 @@ RB.BoardUpdater = RB.Object.create({
},
processAllItems: function(){
throw "RB.BoardUpdater.processItems() was not overriden by child object";
throw "RB.BoardUpdater.processAllItems() was not overriden by child object";
},
processData: function(data, textStatus, xhr){

Loading…
Cancel
Save