this.status = status;
this.trigger('statusChange', this, status, options);
+ this.trigger('status:' + XM.Model._status[status], this, status, options);
return this;
},
assignedTo = model.get("assignedTo") ? model.getValue("assignedTo.username") : null,
newAssignedTo = assignedTo === "postgres" ? "admin" : "postgres",
popup;
-
+
// Select the first model from the list, call the reassignUser function
actList.select(0);
actList.reassignUser();
popup.$.customComponent.setValue(newAssignedTo);
assert.equal(popup.$.customComponent.$.pickerButton.content, newAssignedTo);
moduleContainer.notifyTap(null, { originator: {name: "notifyYes"}});
-
+
setTimeout(function () {
assert.equal(actList.value.models[0].getValue("assignedTo.username"), newAssignedTo);
done();