Summary | spellcheck on Safari |
Queue | DIMP |
Type | Bug |
State | Resolved |
Priority | 3. High |
Owners | Horde Developers (at) |
Requester | reitsma (at) denison (dot) edu |
Created | 09/29/2006 (6827 days ago) |
Due | |
Updated | 09/06/2017 (2832 days ago) |
Assigned | 09/30/2006 (6826 days ago) |
Resolved | 10/05/2006 (6821 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
commit d98056759724f8d5e94a98038f61f7177e823c5f
Author: Paul M Jones <pmjones@ciaweb.net>
Date: Mon May 30 13:37:47 2005 +0000
fixed
bug 4474to silence calls to htmlentities and htmlspecialchars sothat errors about charsets don't pop up, per counsel from Jan at Horde.
git-svn-id:
https://svn.php.net/repository/pear/packages/Text_Wiki/trunk@187320
c90b9560-bf6c-de11-be94-00142212c4b1
Text/Wiki/Render/Xhtml.php | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
http://github.com/horde/horde/commit/d98056759724f8d5e94a98038f61f7177e823c5f
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).
State ⇒ Resolved
imp/js/SpellChecker.js from:
targetValue: function(value)
{
// Ensure we have the correct input.
this.input = $(this.target);
if (value) {
if (typeof this.input.value == 'undefined') {
this.input.innerHTML = value;
} else {
this.input.value = value;
}
}
return (typeof this.input.value == 'undefined') ?
this.input.innerHTML : this.input.value;
},
to:
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;
},
solved the problem for Safari without breaking any of the other
browsers we tested.
Taken from Michael Slusarz
Assigned to Michael Slusarz
Assigned to
State ⇒ Assigned
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ spellcheck on Safari
Queue ⇒ DIMP
State ⇒ Unconfirmed
clicking on "Resume Editing" erases the entire message.