Module: appdb Branch: master Commit: 28df9c104dbead0bac8a119c4611fe49e21f073e URL: http://source.winehq.org/git/appdb.git/?a=commit;h=28df9c104dbead0bac8a119c4...
Author: Alexander Nicolaysen Sørnes alexsornes@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