[sound] do not play sound on name change

git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@144 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
Evgeny Gryaznov 2008-10-02 13:36:37 +00:00
parent 7d4344599b
commit fe87d0dfc2
2 changed files with 2 additions and 1 deletions

View File

@ -149,6 +149,7 @@ Class.inherit( Ajax.ChatThreadUpdater, Ajax.Base, {
}, },
changeName: function(newname) { changeName: function(newname) {
this.skipNextsound = true;
new Ajax.Request(this._options.servl, {parameters:'act=rename&thread=' + (this._options.threadid || -1) + new Ajax.Request(this._options.servl, {parameters:'act=rename&thread=' + (this._options.threadid || -1) +
'&token=' + (this._options.token || 0) + '&name=' + encodeURIComponent(newname)}); '&token=' + (this._options.token || 0) + '&name=' + encodeURIComponent(newname)});
}, },

File diff suppressed because one or more lines are too long