=?UTF-8?Q?Alexander=20Nicolaysen=20?==?UTF-8?Q?S=C3=B8rnes=20?=: objectManager: use value instead of innerHTML when adding common replies to the e-mail text field

Alexander Nicolaysen Sørnes asornes at winehq.org
Sun Oct 9 07:48:14 CDT 2011


Module: appdb
Branch: master
Commit: 28df9c104dbead0bac8a119c4611fe49e21f073e
URL:    http://source.winehq.org/git/appdb.git/?a=commit;h=28df9c104dbead0bac8a119c4611fe49e21f073e

Author: Alexander Nicolaysen Sørnes <alexsornes at gmail.com>
Date:   Sun Oct  9 14:47:35 2011 +0200

objectManager: use value instead of innerHTML when adding common replies to the e-mail text field

---

 include/objectManager.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/objectManager.php b/include/objectManager.php
index 00c7251..d6be2aa 100644
--- a/include/objectManager.php
+++ b/include/objectManager.php
@@ -452,7 +452,7 @@ class ObjectManager
             {
                 $sReply = $oReply->getReply();
                 echo '<tr valign=top><td class="color0"></td>',"\n";
-                echo '<td class="color0"><a onClick="document.forms[\'sQform\'][\'sReplyText\'].innerHTML += \''.$sReply.' \';">'.$sReply.'</a></td>',"\n";
+                echo '<td class="color0"><a onClick="document.forms[\'sQform\'][\'sReplyText\'].value += \''.$sReply.' \';">'.$sReply.'</a></td>',"\n";
                 echo '</tr>',"\n";
             }
             // end output radio buttons for common responses




More information about the wine-cvs mailing list