mirror of
https://github.com/Mibew/design.git
synced 2025-01-22 18:10:33 +03:00
Remove default value for id in JS Mibew.Models.Message
This commit is contained in:
parent
3c20e8cf5c
commit
6954c598a3
@ -5,4 +5,4 @@
|
|||||||
Copyright (c) 2005-2011 Mibew Messenger Community
|
Copyright (c) 2005-2011 Mibew Messenger Community
|
||||||
License: http://mibew.org/license.php
|
License: http://mibew.org/license.php
|
||||||
*/
|
*/
|
||||||
(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);
|
(function(a){a.Models.Message=a.Models.Base.extend({defaults:{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);
|
||||||
|
@ -73,7 +73,7 @@ b.Utils.playSound=function(a){c("body").append('<audio autoplay style="display:
|
|||||||
Copyright (c) 2005-2011 Mibew Messenger Community
|
Copyright (c) 2005-2011 Mibew Messenger Community
|
||||||
License: http://mibew.org/license.php
|
License: http://mibew.org/license.php
|
||||||
*/
|
*/
|
||||||
(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);
|
(function(a){a.Models.Message=a.Models.Base.extend({defaults:{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);
|
||||||
/*
|
/*
|
||||||
This file is part of Mibew Messenger project.
|
This file is part of Mibew Messenger project.
|
||||||
http://mibew.org
|
http://mibew.org
|
||||||
|
@ -18,12 +18,6 @@
|
|||||||
* Default values of model
|
* Default values of model
|
||||||
*/
|
*/
|
||||||
defaults : {
|
defaults : {
|
||||||
/**
|
|
||||||
* Message ID
|
|
||||||
* @type Number
|
|
||||||
*/
|
|
||||||
id: 0,
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Message kind. See Mibew.Models.Message.KIND_* for details
|
* Message kind. See Mibew.Models.Message.KIND_* for details
|
||||||
* @type Number
|
* @type Number
|
||||||
|
Loading…
Reference in New Issue
Block a user