Bugfix. Make sure to remove 'requesting' attr again.

This commit is contained in:
JC Brand 2013-11-06 19:07:58 +02:00
parent 1757a3cc23
commit 5944ed99e6

View File

@ -2668,7 +2668,7 @@
} else if (model.get('subscription') !== item.subscription || model.get('ask') !== item.ask) { } else if (model.get('subscription') !== item.subscription || model.get('ask') !== item.ask) {
// only modify model attributes if they are different from the // only modify model attributes if they are different from the
// ones that were already set when the rosterItem was added // ones that were already set when the rosterItem was added
model.set({'subscription': item.subscription, 'ask': item.ask}); model.set({'subscription': item.subscription, 'ask': item.ask, 'requesting': null});
model.save(); model.save();
} }
} }