Ignore:
Timestamp:
01/07/10 13:42:26 (15 years ago)
Author:
amuller
Message:

Ticket #597 - Implementação de Drag and Drop

Location:
sandbox/filemanager/js
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sandbox/filemanager/js/drag_area.js

    r1924 r1925  
    55        this.pressed = 0; 
    66        this.resizing = 0; 
    7         this.initEvent; 
     7        this.dragEl; 
    88        this.endEvent; 
    99        this.operation; 
     
    4141                if (sign == null) 
    4242                { 
     43                        check(this.dragEl); 
    4344                        sign = document.createElement('SPAN'); 
    4445                        sign.className = 'dragSign'; 
  • sandbox/filemanager/js/draw_api.js

    r1924 r1925  
    229229folderList.prototype.createLine = function(file){ 
    230230                var fl = folderList; 
    231                 retBuff = '<tr id="line_'+file.name+'" onmouseout="clearTimeout(menuTimeout)" onmousedown="check(this);_dragArea.operation=\'drag\'">'; 
     231                retBuff = '<tr id="line_'+file.name+'" onmouseout="clearTimeout(menuTimeout)" onmousedown="_dragArea.dragEl=this;_dragArea.operation=\'drag\'">'; 
    232232                retBuff += fl.td; 
    233233                retBuff += '<input name="fileman" value="'+file.name+'" type="checkbox"></td>'; 
Note: See TracChangeset for help on using the changeset viewer.