From 3a754133dbc138390503341fd2e9beba3e43aa4b Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Date: Fri, 27 Jan 2012 12:05:17 -0800 Subject: Merged old FileIO --- js/components/popup-manager.reel/popup-manager.html | 0 js/components/popup-manager.reel/popup-manager.js | 0 2 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 js/components/popup-manager.reel/popup-manager.html mode change 100644 => 100755 js/components/popup-manager.reel/popup-manager.js (limited to 'js/components/popup-manager.reel') diff --git a/js/components/popup-manager.reel/popup-manager.html b/js/components/popup-manager.reel/popup-manager.html old mode 100644 new mode 100755 diff --git a/js/components/popup-manager.reel/popup-manager.js b/js/components/popup-manager.reel/popup-manager.js old mode 100644 new mode 100755 -- cgit v1.2.3 From e75223a2c4c1e13d66639841e6418e94fe9b726f Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Date: Tue, 31 Jan 2012 15:59:46 -0800 Subject: Cloud IO Prompt Setting up UI for the file IO prompt on initialization of Ninja and whenever a cloud IO call is made and the server is not detected. --- js/components/popup-manager.reel/popup-manager.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'js/components/popup-manager.reel') diff --git a/js/components/popup-manager.reel/popup-manager.js b/js/components/popup-manager.reel/popup-manager.js index be3c1e8d..bc755f74 100755 --- a/js/components/popup-manager.reel/popup-manager.js +++ b/js/components/popup-manager.reel/popup-manager.js @@ -32,7 +32,8 @@ exports.PopupMananger = Montage.create(Component, { addPopup: { enumerable: true, value: function (popup, depth, blackout) { - // + //Fix to ensure always highest + this.element.style.zIndex = this._getNextHighestZindex(document.body); // Highest z-index in body //TODO: Add blackout background //Checking for manual or setting auto to next highest depth if (depth) { -- cgit v1.2.3 From 0db246b19dc0b50f4f663a147ec92c49e656ae35 Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Date: Mon, 6 Feb 2012 16:32:15 -0800 Subject: Adding logic to copy ninja libraries Setting up the logic to handling copying ninja required libraries into the app local file system sandbox to be used by cloud simulator. --- js/components/popup-manager.reel/popup-manager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/components/popup-manager.reel') diff --git a/js/components/popup-manager.reel/popup-manager.js b/js/components/popup-manager.reel/popup-manager.js index bc755f74..fbcd5035 100755 --- a/js/components/popup-manager.reel/popup-manager.js +++ b/js/components/popup-manager.reel/popup-manager.js @@ -117,7 +117,7 @@ exports.PopupMananger = Montage.create(Component, { _getNextHighestZindex: { numerable: false, value: function (parent) { - //Adapcted from: http://greengeckodesign.com/blog/2007/07/get-highest-z-index-in-javascript.html + //CSS specificity in javascript found at http://gbradley.com/2009/10/02/css-specificity-in-javascript used with permission from Graham Bradley var high = 0, current = 0, children = [], i; // if (parent) { -- cgit v1.2.3