src/pyams_content/skin/resources/js/pyams_content.js
changeset 715 38fe2d681233
parent 641 771482d50c94
child 800 2b5460ecb254
--- a/src/pyams_content/skin/resources/js/pyams_content.js	Wed Jun 20 08:25:29 2018 +0200
+++ b/src/pyams_content/skin/resources/js/pyams_content.js	Wed Jun 20 18:15:39 2018 +0200
@@ -573,6 +573,28 @@
 		},
 
 		/**
+		 * Header management
+		 */
+		header: {
+
+			submitEditForm: function() {
+				var form = $(this).parents('form').first();
+				MyAMS.form.submit(form, {form_data: {'autosubmit': true}});
+			}
+		},
+
+		/**
+		 * Footer management
+		 */
+		footer: {
+
+			submitEditForm: function() {
+				var form = $(this).parents('form').first();
+				MyAMS.form.submit(form, {form_data: {'autosubmit': true}});
+			}
+		},
+
+		/**
 		 * User profile management
 		 */
 		profile: {