ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akovale...@apache.org
Subject git commit: AMBARI-7897. Slider view is not displayed in IE10. (akovalenko)
Date Wed, 22 Oct 2014 12:50:42 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 5e5e715b6 -> 0a638f3cf


AMBARI-7897. Slider view is not displayed in IE10. (akovalenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/0a638f3c
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/0a638f3c
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/0a638f3c

Branch: refs/heads/trunk
Commit: 0a638f3cfb9cc6ca2f8989a309f91a46009303ad
Parents: 5e5e715
Author: Aleksandr Kovalenko <akovalenko@hortonworks.com>
Authored: Wed Oct 22 15:26:29 2014 +0300
Committer: Aleksandr Kovalenko <akovalenko@hortonworks.com>
Committed: Wed Oct 22 15:26:29 2014 +0300

----------------------------------------------------------------------
 ambari-web/app/assets/img/ambari-view-default.png | Bin 4158 -> 665 bytes
 ambari-web/app/views/main/views/details.js        |   3 ++-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/0a638f3c/ambari-web/app/assets/img/ambari-view-default.png
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/img/ambari-view-default.png b/ambari-web/app/assets/img/ambari-view-default.png
index 8a12842..6f14605 100644
Binary files a/ambari-web/app/assets/img/ambari-view-default.png and b/ambari-web/app/assets/img/ambari-view-default.png
differ

http://git-wip-us.apache.org/repos/asf/ambari/blob/0a638f3c/ambari-web/app/views/main/views/details.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/views/details.js b/ambari-web/app/views/main/views/details.js
index cf82dbe..48b6783 100644
--- a/ambari-web/app/views/main/views/details.js
+++ b/ambari-web/app/views/main/views/details.js
@@ -84,7 +84,8 @@ App.MainViewsDetailsView = Em.View.extend({
   },
 
   src: function() {
-    return window.location.origin + this.get('controller.content.href');
+    // can't use window.location.origin because IE doesn't support it
+    return window.location.protocol + '//' + window.location.host + this.get('controller.content.href');
   }.property('controller.content')
 
 });


Mime
View raw message