src/pyams_content/skin/resources/js/pyams_content.js
changeset 473 482e02c1f3d5
parent 460 c01cb2647695
child 479 8ccd10df84e3
--- a/src/pyams_content/skin/resources/js/pyams_content.js	Tue Mar 13 10:58:18 2018 +0100
+++ b/src/pyams_content/skin/resources/js/pyams_content.js	Tue Mar 13 16:29:56 2018 +0100
@@ -457,6 +457,20 @@
 		},
 
 		/**
+		 * Pictograms management
+		 */
+		pictogram: {
+
+			initManagerSelection: function() {
+				var form = $(this);
+				var selected = $('input[type="hidden"]', $('.selected-pictograms', form)).listattr('value');
+				return {
+					selected: JSON.stringify(selected)
+				};
+			}
+		},
+
+		/**
 		 * Types management
 		 */
 		types: {