From b1df517e9562148c26484f851e504007e1e20b15 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 3 Oct 2010 22:46:19 -0400 Subject: [PATCH] Position the File Move dialog higher than center of screen --- web_frontend/actor.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web_frontend/actor.js b/web_frontend/actor.js index eb8f874..94599f4 100644 --- a/web_frontend/actor.js +++ b/web_frontend/actor.js @@ -16,6 +16,7 @@ goog.require('goog.dom'); goog.require('goog.events'); goog.require('goog.positioning.ClientPosition'); goog.require('goog.positioning.Corner'); +goog.require('goog.style'); goog.require('goog.ui.Dialog'); goog.require('goog.ui.Popup'); @@ -178,6 +179,8 @@ armadillo.Actor.prototype.performMove_ = function() { dialog.addChild(editor, true); dialog.setVisible(true); + var position = goog.style.getPosition(dialog.getElement()); + goog.style.setPosition(dialog.getElement(), position.x, '10%'); }; /** -- 2.43.5