fix cucumber failures
This commit is contained in:
parent
27d4fd8176
commit
20b4304f23
2 changed files with 4 additions and 2 deletions
|
|
@ -75,7 +75,6 @@ var ContactEdit = {
|
|||
"person_id": li.parent().data("person_id"),
|
||||
"_method": (selected) ? "DELETE" : "POST"
|
||||
}, function(aspectMembership) {
|
||||
console.dir(aspectMembership);
|
||||
li.removeClass("loading");
|
||||
ContactEdit.toggleCheckbox(li);
|
||||
ContactEdit.updateNumber(li.closest(".dropdown_list"), li.parent().data("person_id"), aspectMembership.aspect_ids.length, 'in_aspects');
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
var self = this;
|
||||
this.streamElements = {};
|
||||
|
||||
|
||||
this.subscribe("widget/ready", function(evt, stream) {
|
||||
$.extend(self, {
|
||||
stream: $(stream)
|
||||
|
|
@ -17,6 +16,10 @@
|
|||
});
|
||||
});
|
||||
|
||||
this.globalSubscribe("stream/reloaded", function() {
|
||||
self.streamElements = {};
|
||||
});
|
||||
|
||||
this.globalSubscribe("stream/reloaded stream/scrolled", function() {
|
||||
self.publish("widget/ready", self.stream);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue