Skip to content

Commit d2384ba

Browse files
committed
disable drag on trashed items
1 parent 18b715c commit d2384ba

File tree

1 file changed

+3
-1
lines changed
  • services/static-webserver/client/source/class/osparc/dashboard

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,9 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
612612
card.addListener("tap", e => this.__studyCardClicked(card, e.getNativeEvent().shiftKey), this);
613613
this._populateCardMenu(card);
614614

615-
this.__attachDragHandlers(card);
615+
if (this.getCurrentContext() !== "trash") {
616+
this.__attachDragHandlers(card);
617+
}
616618
});
617619
},
618620

0 commit comments

Comments
 (0)