1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-28 04:02:27 -05:00

auto navigate to page for incoming calls

This commit is contained in:
Henrik Joreteg 2013-10-16 13:44:24 -07:00
parent 04d1977397
commit fd43223421
2 changed files with 3 additions and 1 deletions

View File

@ -10,6 +10,8 @@ module.exports = HumanModel.define({
type: 'call', type: 'call',
initialize: function (attrs) { initialize: function (attrs) {
this.contact.onCall = true; this.contact.onCall = true;
// temporary, this won't stay here
app.navigate('/chat/' + this.contact.jid);
}, },
session: { session: {
contact: 'object', contact: 'object',

View File

@ -1,5 +1,5 @@
CACHE MANIFEST CACHE MANIFEST
# 0.0.1 1381954817907 # 0.0.1 1381956210504
CACHE: CACHE:
/app.js /app.js