From e68856929ffc165a2fccec0971d29647fa70d59e Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Wed, 1 Jan 2014 11:37:41 -0800 Subject: [PATCH] Fix pending message appearance when switching pages --- clientapp/models/message.js | 2 ++ public/x-manifest.cache | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/clientapp/models/message.js b/clientapp/models/message.js index bd3bec3..4639c87 100644 --- a/clientapp/models/message.js +++ b/clientapp/models/message.js @@ -120,6 +120,8 @@ var Message = module.exports = HumanModel.define({ } }, templateHtml: { + deps: ['edited', 'pending', 'body'], + cache: false, fn: function () { if (this.type === 'groupchat') { return templates.includes.mucWrappedMessage({message: this}); diff --git a/public/x-manifest.cache b/public/x-manifest.cache index 63d1eb2..6e51796 100644 --- a/public/x-manifest.cache +++ b/public/x-manifest.cache @@ -1,5 +1,5 @@ CACHE MANIFEST -# 0.0.1 1388539211085 +# 0.0.1 1388604898350 CACHE: /app.js