integration/js/editor.js
changeset 24 1fbf7d835dc2
parent 23 c9dc489913af
child 26 7c394ea40f28
equal deleted inserted replaced
23:c9dc489913af 24:1fbf7d835dc2
   416     
   416     
   417     function disableMoveItemVideo() {
   417     function disableMoveItemVideo() {
   418         $(".organize-segments .top, .organize-segments .bottom").removeClass("disable");
   418         $(".organize-segments .top, .organize-segments .bottom").removeClass("disable");
   419         $(".organize-segments .item-video:last-child .bottom, .organize-segments .item-video:first-child .top").addClass("disable");
   419         $(".organize-segments .item-video:last-child .bottom, .organize-segments .item-video:first-child .top").addClass("disable");
   420     }
   420     }
       
   421     disableMoveItemVideo();
   421     
   422     
   422     $(".organize-segments").sortable({
   423     $(".organize-segments").sortable({
   423         stop : function(){
   424         stop : function(){
   424             disableMoveItemVideo();
   425             disableMoveItemVideo();
   425         }
   426         }