integration/js/edition.js
changeset 23 2a3159ee4ed0
parent 22 0e02c3a28491
child 28 a0a048ff33a1
--- a/integration/js/edition.js	Tue May 21 16:40:05 2013 +0200
+++ b/integration/js/edition.js	Tue May 21 17:41:10 2013 +0200
@@ -169,6 +169,10 @@
         currentChapter = _.find(chapters, function(c){ return c.id == idChapter; });
     });
 
+    $('.chapter-segments').on('click', 'li', function(){
+        var idChapter = $(this).attr('id');
+        loadFormChapter(idChapter);
+    });
 
     $('.chapter-widget-info').on('keyup', 'input[name=title], textarea', function(e){
         var name = $(this).attr('name'),