From 3c20e8cf5cdc6362c1ab2711f040c99e0b2783ad Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Wed, 24 Apr 2013 14:47:49 +0000 Subject: [PATCH] Update defaults values in JS Mibew.Models.Message --- .../js/compiled/default/models/message.js | 2 +- .../webim/js/compiled/default_app.js | 2 +- .../webim/js/source/default/models/message.js | 24 +++++++++++++++++++ 3 files changed, 26 insertions(+), 2 deletions(-) diff --git a/src/messenger/webim/js/compiled/default/models/message.js b/src/messenger/webim/js/compiled/default/models/message.js index 0f324af7..5e721312 100644 --- a/src/messenger/webim/js/compiled/default/models/message.js +++ b/src/messenger/webim/js/compiled/default/models/message.js @@ -5,4 +5,4 @@ Copyright (c) 2005-2011 Mibew Messenger Community License: http://mibew.org/license.php */ -(function(a){a.Models.Message=a.Models.Base.extend({defaults:{message:""},KIND_USER:1,KIND_AGENT:2,KIND_FOR_AGENT:3,KIND_INFO:4,KIND_CONN:5,KIND_EVENTS:6})})(Mibew); +(function(a){a.Models.Message=a.Models.Base.extend({defaults:{id:0,kind:null,created:0,name:"",message:""},KIND_USER:1,KIND_AGENT:2,KIND_FOR_AGENT:3,KIND_INFO:4,KIND_CONN:5,KIND_EVENTS:6})})(Mibew); diff --git a/src/messenger/webim/js/compiled/default_app.js b/src/messenger/webim/js/compiled/default_app.js index 66fd7a70..107b18c2 100644 --- a/src/messenger/webim/js/compiled/default_app.js +++ b/src/messenger/webim/js/compiled/default_app.js @@ -73,7 +73,7 @@ b.Utils.playSound=function(a){c("body").append('