[Tickets #4474] RESOLVED: spellcheck on Safari

bugs@bugs.horde.org bugs at bugs.horde.org
Fri Oct 6 13:11:28 PDT 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=4474
-----------------------------------------------------------------------
 Ticket             | 4474
 Updated By         | reitsma at denison.edu
 Summary            | spellcheck on Safari
 Queue              | DIMP
 Type               | Bug
 State              | Resolved
 Priority           | 3. High
 Owners             | Horde Developers
-----------------------------------------------------------------------


reitsma at denison.edu (2006-10-06 13:11) wrote:

We found a case in which our patch failed: Internet Explorer in HTML mode.
We again simplified the targetValue function in imp/js/SpellChecker.js
from:

    targetValue: function(value)
    {
        if (value) {
            this.input.innerHTML = value;
            this.input.value = value;
        }
        return (typeof this.input.value == 'undefined') ?
this.input.innerHTML : this.input.value;
    },

to:

    targetValue: function(value)
    {
        if (value) {
            this.input.value = value;
            return;
        }
        return (typeof this.input.value == 'undefined') ?
this.input.innerHTML : this.input.value;
    },

to correctly handle Internet Explorer in both plain text and HTML mode
(Windows only), Firefox in both plain text and HTML mode (Windows and OS
X), and Safari plain text mode (OS X).




More information about the bugs mailing list