src/pyams_content/skin/resources/js/pyams_content.js
changeset 535 d01efcb4d332
parent 527 5dd1aa8bedd9
child 563 0d2e0946ed64
equal deleted inserted replaced
534:09b34ca38bf1 535:d01efcb4d332
   227 				}
   227 				}
   228 			}
   228 			}
   229 		},
   229 		},
   230 
   230 
   231 		/**
   231 		/**
   232 		 * Illustrations management
       
   233 		 */
       
   234 		illustration: {
       
   235 
       
   236 			addIllustration: function() {
       
   237 				var source = $(this);
       
   238 				var group = source.parents('.btn-group');
       
   239 				var legend = group.siblings('legend.switcher');
       
   240 				$('i.fa-plus', legend).click();
       
   241 				source.hide();
       
   242 			}
       
   243 		},
       
   244 
       
   245 		/**
       
   246 		 * Paragraphs management
   232 		 * Paragraphs management
   247 		 */
   233 		 */
   248 		paragraphs: {
   234 		paragraphs: {
   249 
   235 
   250 			/* Store and restore paragraphs state on reload */
   236 			/* Store and restore paragraphs state on reload */