diff --git a/structr-ui/src/main/resources/structr/js/schema.js b/structr-ui/src/main/resources/structr/js/schema.js
index <HASH>..<HASH> 100644
--- a/structr-ui/src/main/resources/structr/js/schema.js
+++ b/structr-ui/src/main/resources/structr/js/schema.js
@@ -189,6 +189,11 @@ var _Schema = {
 					reload = false;
 
 					_Schema.setZoom(zoomLevel, instance, [0,0], $('#schema-graph')[0]);
+
+					$('._jsPlumb_connector').click(function() {
+						$(this).nextAll('._jsPlumb_overlay').slice(0, 3).css({zIndex: ++maxZ});
+					});
+
 					_Schema.resize();
 
 					Structr.unblockMenu(500);
added feature: click on a relationship in the schema browser brings the relationship-overlays (cardinality, name) to the front