mirror of
https://github.com/Mibew/design.git
synced 2025-01-23 02:20:34 +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) {
|
'select#predefined' : function(el) {
|
||||||
el.onchange = function() {
|
el.onchange = function() {
|
||||||
var message = $('msgwnd');
|
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;
|
this.selectedIndex = 0;
|
||||||
message.focus();
|
message.focus();
|
||||||
};
|
};
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user