updated to 7.x-2.x-dev (2013-Mar-04)

This commit is contained in:
Bachir Soussi Chiadmi
2013-10-12 13:24:57 +02:00
parent a2b9816e52
commit ca63b9bbca
23 changed files with 201 additions and 185 deletions

16
feedback.admin.js Executable file
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);