cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject [2/2] git commit: updated refs/heads/ui-restyle to 5c827f7
Date Tue, 01 Oct 2013 19:06:37 GMT
Fix overlay width/height


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/5c827f76
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/5c827f76
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/5c827f76

Branch: refs/heads/ui-restyle
Commit: 5c827f762e8fd54eeb173c81d1d5330d09f389e1
Parents: 02984bc
Author: Brian Federle <brian.federle@citrix.com>
Authored: Tue Oct 1 12:06:20 2013 -0700
Committer: Brian Federle <brian.federle@citrix.com>
Committed: Tue Oct 1 12:06:20 2013 -0700

----------------------------------------------------------------------
 ui/scripts/ui/widgets/overlay.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5c827f76/ui/scripts/ui/widgets/overlay.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/widgets/overlay.js b/ui/scripts/ui/widgets/overlay.js
index 95db303..833eb9b 100644
--- a/ui/scripts/ui/widgets/overlay.js
+++ b/ui/scripts/ui/widgets/overlay.js
@@ -45,6 +45,9 @@
     };
 
     $(window).bind('resize scroll', function() {
-        $('.overlay').css('top', $(window).scrollTop());
+        $('.overlay').css({
+            width: $(window).width(),
+            height: $(window).height()
+        });
     });
 })(window.jQuery);


Mime
View raw message