mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-19 18:29:23 +00:00
[dir view] drag & drop: modified highlight effect
This commit is contained in:
@@ -169,7 +169,7 @@ define([
|
|||||||
if (!this.model.get('is_dir')) {
|
if (!this.model.get('is_dir')) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
this.$('.dir-link').removeClass('normal');
|
this.$el.css({'background-color':'#f8f8f8'});
|
||||||
},
|
},
|
||||||
|
|
||||||
itemDragleave: function(e) {
|
itemDragleave: function(e) {
|
||||||
@@ -179,7 +179,7 @@ define([
|
|||||||
if (!this.model.get('is_dir')) {
|
if (!this.model.get('is_dir')) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
this.$('.dir-link').addClass('normal');
|
this.$el.removeAttr('style');
|
||||||
},
|
},
|
||||||
|
|
||||||
itemDrop: function(e) {
|
itemDrop: function(e) {
|
||||||
@@ -189,7 +189,7 @@ define([
|
|||||||
if (!this.model.get('is_dir')) {
|
if (!this.model.get('is_dir')) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
this.$('.dir-link').addClass('normal');
|
this.$el.removeAttr('style');
|
||||||
|
|
||||||
var ev = e.originalEvent;
|
var ev = e.originalEvent;
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
|
Reference in New Issue
Block a user