fixed bug with amount not updating / solved double dispatch problem with cartAction.load / removed all console.log calls - it became too chatty / add them as needed
This commit is contained in:
@@ -30,7 +30,7 @@ var loadSectionDetails = function(sectionId) {
|
||||
section.fetch({
|
||||
success: function() {
|
||||
_sectionDetails = section;
|
||||
console.log('section details', _sectionDetails);
|
||||
|
||||
SectionStore.emitChange();
|
||||
}
|
||||
});
|
||||
@@ -53,7 +53,7 @@ var SectionStore = _.extend({}, EventEmitter.prototype, {
|
||||
},
|
||||
// Emit Change event
|
||||
emitChange: function() {
|
||||
console.log("Emmiting Section change!");
|
||||
|
||||
this.emit('change');
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user