mirror of
https://github.com/Mibew/java.git
synced 2025-01-23 01:50:34 +03:00
[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:
parent
7d4344599b
commit
fe87d0dfc2
@ -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
Loading…
Reference in New Issue
Block a user