mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix dragover highlighting for composite dataset uploader
This commit is contained in:
@@ -38,10 +38,10 @@ export default Backbone.View.extend({
|
||||
// build upload functions
|
||||
this.uploadinput = this.$el.uploadinput({
|
||||
ondragover: function() {
|
||||
self.model.get("enabled") && self.$el.addClass("warning");
|
||||
self.model.get("enabled") && self.$el.addClass("alert-success");
|
||||
},
|
||||
ondragleave: function() {
|
||||
self.$el.removeClass("warning");
|
||||
self.$el.removeClass("alert-success");
|
||||
},
|
||||
onchange: function(files) {
|
||||
if (self.model.get("status") != "running" && files && files.length > 0) {
|
||||
|
||||
@@ -279,6 +279,9 @@
|
||||
td {
|
||||
padding: 0.5rem;
|
||||
}
|
||||
.alert-success {
|
||||
background: $brand-success !important;
|
||||
}
|
||||
}
|
||||
|
||||
.upload-settings {
|
||||
|
||||
Reference in New Issue
Block a user