#667 - View all emoticons
| Identifier | #667 |
|---|---|
| Issue type | Minor issue (breaks specific functionality) |
| Title | View all emoticons |
| Status | Completed |
| Handling member | Chris Graham |
| Addon | cns_forum |
| Description | When you click the "view all emoticons" link, the iframe opens; however, when you click on an emoticon, it is not added to the textarea dialog box for a comment post.
It does not seem to function on the Composr forums either. This appears to be a browser compatibility problem as it occurs in Firefox. It functions properly in IE. |
| Steps to reproduce | |
| Funded? | No |
| Commits |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".
Comments
FROM...
function do_emoticon(field_name,p,_opener)
{
var element;
if (_opener)
{
element=opener.document.getElementById(field_name);
TO...
function do_emoticon(field_name,p,_opener)
{
var element;
if (_opener)
{
element=parent.document.getElementById(field_name);
Javascript windowing context is altered so overlays look like a popup window -- however this no longer works for Firefox. Therefore the templates need to be changed to analyse the context in-situ.