From fe3a9e7990024293b39fac815a7e340a3b21859a Mon Sep 17 00:00:00 2001 From: Armen Kesablyan Date: Mon, 18 Jun 2012 23:09:09 -0700 Subject: Latest Changes Visual Binding Starting Signed-off-by: Armen Kesablyan --- js/stage/binding-view.reel/binding-view.css | 2 +- js/stage/binding-view.reel/binding-view.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'js/stage') diff --git a/js/stage/binding-view.reel/binding-view.css b/js/stage/binding-view.reel/binding-view.css index 0365f52d..d5915bce 100755 --- a/js/stage/binding-view.reel/binding-view.css +++ b/js/stage/binding-view.reel/binding-view.css @@ -27,7 +27,7 @@ } .objects-tray-container { - bottom: 10px; + bottom:0; position: absolute; width: 100%; display: -webkit-box; diff --git a/js/stage/binding-view.reel/binding-view.js b/js/stage/binding-view.reel/binding-view.js index 0a663a4e..d2f653fa 100755 --- a/js/stage/binding-view.reel/binding-view.js +++ b/js/stage/binding-view.reel/binding-view.js @@ -342,7 +342,7 @@ exports.BindingView = Montage.create(Component, { // var nodeEl = new webkitConvertPointFromPageToNode(this.element, mouseUpPoint); this.element.style.zIndex = "12"; var nodeEl = document.elementFromPoint(e.pageX, e.pageY); - console.log(nodeEl); + alert(nodeEl.parentElement.controller.title); this.element.style.zIndex = null; this._isDrawingConnection = false; this.needsDraw = true; -- cgit v1.2.3