mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Fix file drop stopped working after changing template
This commit is contained in:
parent
2c01aa23d4
commit
0eaa3e0896
@ -271,8 +271,8 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput],
|
||||
{
|
||||
var self = this;
|
||||
// Register a handler
|
||||
$j('table.egwGridView_grid',this.div)
|
||||
.on('dragenter','tr',function(e) {
|
||||
$j(this.div)
|
||||
.on('dragenter','.egwGridView_grid tr',function(e) {
|
||||
// Figure out _which_ row
|
||||
var row = self.controller.getRowByNode(this);
|
||||
|
||||
@ -289,12 +289,12 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput],
|
||||
}
|
||||
return false;
|
||||
})
|
||||
.on('dragexit','tr', function(e) {
|
||||
.on('dragexit','.egwGridView_grid tr', function(e) {
|
||||
self.controller._selectionMgr.setFocused();
|
||||
})
|
||||
.on('dragover','tr',false).attr("dropzone","copy")
|
||||
.on('dragover','.egwGridView_grid tr',false).attr("dropzone","copy")
|
||||
|
||||
.on('drop', 'tr',function(e) {
|
||||
.on('drop', '.egwGridView_grid tr',function(e) {
|
||||
self.handle_drop(e,this);
|
||||
return false;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user