Changeset f0db2f in indico


Ignore:
Timestamp:
02/16/12 18:09:14 (16 months ago)
Author:
Alberto Resco Perez <alberto.resco.perez@…>
Branches:
master, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.99, b8c30da8ebdbdcbd675a873997cc3e95f567de49, 4287315ec967a3da168d83963c14001db8487d53
Children:
bfcf76
Parents:
466078
git-author:
Alberto Resco Perez <alberto.resco.perez@…> (02/16/12 16:32:30)
git-committer:
Alberto Resco Perez <alberto.resco.perez@…> (02/16/12 18:09:14)
Message:

[FIX] Fix drag and drop TT

  • Restrict the classname that are candidates to be dropped in the TT.
Location:
indico/htdocs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • indico/htdocs/css/Default.css

    r251c94 rf0db2f  
    51595159} 
    51605160 
    5161 div.ui-draggable { 
     5161div.ui-draggable.timetableBlock { 
    51625162   /* border: 3px solid #9F883B;*/ 
    51635163} 
    51645164 
    5165 div.ui-draggable:hover { 
     5165div.ui-draggable.timetableBlock:hover { 
    51665166    cursor: move; 
    51675167} 
    51685168 
    5169 div.ui-draggable-dragging { 
     5169div.ui-draggable-dragging.timetableBlock { 
    51705170    z-index: 9000; 
    51715171    opacity: 0.5; 
  • indico/htdocs/js/indico/Timetable/DragAndDrop.js

    r422ae3 rf0db2f  
    7676                           eventData, ui, undo_caption) { 
    7777 
    78              //  
     78             // 
    7979 
    8080             var self = this; 
     
    439439                 }, 
    440440                 tolerance: 'touch', 
     441                 accept: '.ui-draggable.timetableBlock', 
    441442                 over: function(event, ui) { 
    442                      $('.ui-draggable').live( 
     443                     $('.ui-draggable.timetableBlock').live( 
    443444                         thisDragSpaceName, 
    444445                         function(event, ui) 
     
    457458                 }, 
    458459                 out: function(event, ui) { 
    459                      $('.ui-draggable').die(thisDragSpaceName); 
     460                     $('.ui-draggable.timetableBlock').die(thisDragSpaceName); 
    460461                 } 
    461462             }); 
Note: See TracChangeset for help on using the changeset viewer.