Skip to content

Commit eafb08e

Browse files
committed
dragend resetTextColor
1 parent 56b097b commit eafb08e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

services/static-webserver/client/source/class/osparc/dashboard/FolderButtonItem.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,15 +236,18 @@ qx.Class.define("osparc.dashboard.FolderButtonItem", {
236236
if (compatible) {
237237
this.getChildControl("icon").setTextColor("strong-main");
238238
} else {
239-
// do not allow
240239
this.getChildControl("icon").setTextColor("danger-red");
240+
// do not allow
241241
e.preventDefault();
242242
}
243243
});
244244

245245
this.addListener("dragleave", () => {
246246
this.getChildControl("icon").resetTextColor();
247247
});
248+
this.addListener("dragend", () => {
249+
this.getChildControl("icon").resetTextColor();
250+
});
248251

249252
this.addListener("drop", e => {
250253
if (e.supportsType("osparc-moveStudy")) {

0 commit comments

Comments
 (0)