src/pyams_content/skin/resources/js/pyams_content.js
changeset 473 482e02c1f3d5
parent 460 c01cb2647695
child 479 8ccd10df84e3
equal deleted inserted replaced
472:7b432f971933 473:482e02c1f3d5
   455 								 });
   455 								 });
   456 			}
   456 			}
   457 		},
   457 		},
   458 
   458 
   459 		/**
   459 		/**
       
   460 		 * Pictograms management
       
   461 		 */
       
   462 		pictogram: {
       
   463 
       
   464 			initManagerSelection: function() {
       
   465 				var form = $(this);
       
   466 				var selected = $('input[type="hidden"]', $('.selected-pictograms', form)).listattr('value');
       
   467 				return {
       
   468 					selected: JSON.stringify(selected)
       
   469 				};
       
   470 			}
       
   471 		},
       
   472 
       
   473 		/**
   460 		 * Types management
   474 		 * Types management
   461 		 */
   475 		 */
   462 		types: {
   476 		types: {
   463 
   477 
   464 			switchSubtypes: function(element) {
   478 			switchSubtypes: function(element) {