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:
Evgeny Gryaznov 2008-10-02 11:53:54 +00:00
parent e98ca058a3
commit 1dea2a7b88
2 changed files with 4 additions and 2 deletions

View File

@ -354,7 +354,9 @@ Behaviour.register({
'select#predefined' : function(el) {
el.onchange = function() {
var message = $('msgwnd');
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