merged feedback submodule

This commit is contained in:
Bachir Soussi Chiadmi
2015-04-19 13:55:49 +02:00
22 changed files with 3708 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
(function ($) {
/**
* Attach auto-submit to admin view form.
*/
Drupal.behaviors.feedbackAdminForm = {
attach: function (context) {
$('#feedback-admin-view-form', context).once('feedback', function () {
$(this).find('fieldset.feedback-messages :input[type="checkbox"]').click(function () {
this.form.submit();
});
});
}
};
})(jQuery);