Changeset 2572 for trunk/expressoMail1_2/js/jscode/drag_area.js
- Timestamp:
- 04/16/10 17:36:06 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/jscode/drag_area.js
r2561 r2572 133 133 { 134 134 return false; 135 } 135 }; 136 136 137 137 var _this = this; … … 151 151 }; 152 152 153 } 153 }; 154 154 155 155 DragArea.prototype.makeDragged = function(element, msg_number, subject, from_list, folder){ 156 156 element.oncontextmenu = function(e) { 157 157 return false; 158 } 158 }; 159 159 var _this = this; 160 160 element.onmousedown = function (e){ … … 192 192 return true; 193 193 }; 194 } 194 }; 195 195 DragArea.prototype.showLayerDrag = function(e){ 196 196 … … 214 214 this.div_dd.innerHTML = "<img align='center' src='"+this.envelope.src+"'> <span id='content_dd'><font color='red' weight='bold'><b>"+this.subject+"</b></span></font>"; 215 215 this.div_dd.style.display =''; 216 } 216 }; 217 217 218 218 DragArea.prototype.onSelectStart = function(value){ 219 219 if(!value) { 220 document.body.onselectstart = function (e){return false;} 221 document.body.ondragstart = function (e){return false;} 220 document.body.onselectstart = function (e){return false;}; 221 document.body.ondragstart = function (e){return false;}; 222 222 } 223 223 else { 224 document.body.onselectstart = function (e){return true;} 225 document.body.ondragstart = function (e){return true;} 226 } 227 } 224 document.body.onselectstart = function (e){return true;}; 225 document.body.ondragstart = function (e){return true;}; 226 } 227 }; 228 228 229 229 DragArea.prototype.mouseMoveDrag = function(e){ … … 254 254 255 255 return false; 256 } 256 };
Note: See TracChangeset
for help on using the changeset viewer.