summaryrefslogtreecommitdiffstats
path: root/js/wwwsqldesigner.js
diff options
context:
space:
mode:
authorondrej.zara <none@none>2010-03-17 11:59:59 +0000
committerondrej.zara <none@none>2010-03-17 11:59:59 +0000
commit592f08cc378f15445391e19eb27d32a43cf0d06d (patch)
tree6f289a55acc1d51ac259dcb2af0a0974cc146184 /js/wwwsqldesigner.js
parenta14842c2b9f6f2c9f5a59a8ffbe9cd3dd8d40321 (diff)
downloadwwwsqldesigner-592f08cc378f15445391e19eb27d32a43cf0d06d.zip
wwwsqldesigner-592f08cc378f15445391e19eb27d32a43cf0d06d.tar.gz
wwwsqldesigner-592f08cc378f15445391e19eb27d32a43cf0d06d.tar.bz2
#83 refactored z-index
--HG-- extra : convert_revision : svn%3Ab267cdba-c1da-11dd-874b-8bacd04a0a74/trunk%4091
Diffstat (limited to 'js/wwwsqldesigner.js')
-rw-r--r--js/wwwsqldesigner.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/wwwsqldesigner.js b/js/wwwsqldesigner.js
index 5c46103..291ad1f 100644
--- a/js/wwwsqldesigner.js
+++ b/js/wwwsqldesigner.js
@@ -1072,7 +1072,7 @@ SQL.Map.prototype.init = function(owner) {
this.width = this.dom.container.offsetWidth - 2;
this.height = this.dom.container.offsetHeight - 2;
- this.dom.port = OZ.DOM.elm("div",{className:"port",zIndex:10});
+ this.dom.port = OZ.DOM.elm("div",{className:"port", zIndex:1});
this.dom.container.appendChild(this.dom.port);
this.sync = this.bind(this.sync);
@@ -2252,6 +2252,8 @@ SQL.Designer.prototype.getMaxZ = function() { /* find max zIndex */
var z = this.tables[i].getZ();
if (z > max) { max = z; }
}
+
+ OZ.$("controls").style.zIndex = max+5;
return max;
}