mirror of
https://github.com/Mibew/i18n.git
synced 2025-01-22 21:40:28 +03:00
predefined answers: safari 3.1.2 fix
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@140 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
parent
e98ca058a3
commit
1dea2a7b88
@ -354,7 +354,9 @@ Behaviour.register({
|
||||
'select#predefined' : function(el) {
|
||||
el.onchange = function() {
|
||||
var message = $('msgwnd');
|
||||
message.value = this.options[this.selectedIndex].innerText || this.options[this.selectedIndex].innerHTML;
|
||||
if(this.selectedIndex!=0) {
|
||||
message.value = this.options[this.selectedIndex].innerText || this.options[this.selectedIndex].innerHTML;
|
||||
}
|
||||
this.selectedIndex = 0;
|
||||
message.focus();
|
||||
};
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user