FeedbackForm

Table of contents
No headers

"The form below sends an email to the default feedback location.";

<div class="mt-bs-feedback">
    <label class="mt-bs-feedback-description" for="mt-bs-feedback-comment">wiki.localize("MindTouch.Templates.Controls.FeedbackForm.label");</label>
    <textarea id="mt-bs-feedback-comment"></textarea>
    <p><input class="btn blue" type="submit" value=(wiki.localize("MindTouch.Templates.Controls.FeedbackForm.submit")) /></p>
    <div class="mt-bs-feedback-status">&nbsp;</div>
</div>
$('.mt-bs-feedback input[type=submit]').click(function(){
    Deki.Plugin.FeedbackPopup._metadata.context = 'generic';
  
    // the regular feedback form may be included also. Use whichever is visible.
    var comment = $('.mt-bs-feedback textarea:visible').val();
  
    Deki.Plugin.FeedbackPopup._comment(comment);
  
    $('.mt-bs-feedback-status').delay(1600).fadeOut(1600).text('Your feedback has been submitted. Thank you.');
    return false;
});
Page statistics
74 view(s), 2 edit(s) and 1188 character(s)

Tags

This page has no custom tags set.

Comments

You must to post a comment.

Attach file

Attachments