Skip to content

Instantly share code, notes, and snippets.

@valueof
Created August 9, 2010 15:51
Show Gist options
  • Save valueof/515605 to your computer and use it in GitHub Desktop.
Save valueof/515605 to your computer and use it in GitHub Desktop.
{ block editArea }
<div class="dsq-textarea-wrapper">
<textarea class="dsq-edit-textarea" id="dsq-edit-textarea-{= comment.id }">{= comment.message }</textarea>
</div>
<div class="dsq-save-edit">
<button type="button"
onclick="DISQUS.dtpl.actions.fire('comments.edit.send', {= comment.id }, this);">{ "Save edit" }</button>
</div>
<div id="dsq-edit-iframe-{= comment.id }" style="display: none;"></div>
{ /block }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment