I am working on redoing some code I had on my old site that allowed reviews from music and chart rows.
https://www.mixposure.com/music/by_newest - click the pen and it pops a modal that shows reviews and a comment box. The comment box is not always working (cursor does not appear in box) and at times the comment box shrinks so no text can be added. I am beginning to think it works on the first one clicked and subsequent clicks fail.
In firefox I see in dev tools: Error: Permission denied to access property "toString" and TypeError: y is undefined coming from tinymce.
I am also seeing dual scroll bars at times (prev comments) but I can figure that out in the css eventually.
Is tinymce automatically initialized or do I need a call on the modal for that?
Ideas?
<a onclick="MixAP_modal('#{$item._item_id}')" title="Reviews For {$item.audio_title}">{jrCore_icon icon="pen"}</a>
<div class="modal" id="{$item._item_id}" style="display: none">
<div style="padding: 1em 1em 0">
<h2>Reviews For {$item.audio_title}</h2>
<div style="float: right;">
{jrCore_icon icon="close" size="22" class='simplemodal-close'}
</div>
</div>
<div class="wrap">
<div style="max-height: 400px; overflow: auto">
{jrComment_form module="jrAudio" profile_id=$item._profile_id item_id=$item._item_id}
</div>
</div>
</div>
updated by @dazed: 04/18/17 04:49:30PM