mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-18 16:36:15 +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')) {
|
||||
return false;
|
||||
}
|
||||
this.$('.dir-link').removeClass('normal');
|
||||
this.$el.css({'background-color':'#f8f8f8'});
|
||||
},
|
||||
|
||||
itemDragleave: function(e) {
|
||||
@@ -179,7 +179,7 @@ define([
|
||||
if (!this.model.get('is_dir')) {
|
||||
return false;
|
||||
}
|
||||
this.$('.dir-link').addClass('normal');
|
||||
this.$el.removeAttr('style');
|
||||
},
|
||||
|
||||
itemDrop: function(e) {
|
||||
@@ -189,7 +189,7 @@ define([
|
||||
if (!this.model.get('is_dir')) {
|
||||
return false;
|
||||
}
|
||||
this.$('.dir-link').addClass('normal');
|
||||
this.$el.removeAttr('style');
|
||||
|
||||
var ev = e.originalEvent;
|
||||
ev.preventDefault();
|
||||
|
Reference in New Issue
Block a user