ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aonis...@apache.org
Subject [30/41] ambari git commit: AMBARI-20681 Select Version step of installer: repo URL validation message issues. (ababiichuk)
Date Thu, 06 Apr 2017 09:33:51 GMT
AMBARI-20681 Select Version step of installer: repo URL validation message issues. (ababiichuk)


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

Branch: refs/heads/branch-3.0-perf
Commit: 5f99b1a53d9b5862c26f6ef92e7af1141df59249
Parents: c3361d9
Author: ababiichuk <ababiichuk@hortonworks.com>
Authored: Wed Apr 5 15:05:29 2017 +0300
Committer: Andrew Onishuk <aonishuk@hortonworks.com>
Committed: Thu Apr 6 12:32:56 2017 +0300

----------------------------------------------------------------------
 ambari-web/app/views/wizard/step1_view.js | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/5f99b1a5/ambari-web/app/views/wizard/step1_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/wizard/step1_view.js b/ambari-web/app/views/wizard/step1_view.js
index 0161985..584f621 100644
--- a/ambari-web/app/views/wizard/step1_view.js
+++ b/ambari-web/app/views/wizard/step1_view.js
@@ -213,9 +213,12 @@ App.WizardStep1View = Em.View.extend({
   popoverView: Em.View.extend({
     tagName: 'i',
     classNameBindings: ['repository.validationClassName'],
-    attributeBindings: ['repository.errorTitle:title', 'repository.errorContent:data-content'],
+    attributeBindings: ['repository.errorTitle:data-original-title', 'repository.errorContent:data-content'],
     didInsertElement: function () {
-      App.popover($(this.get('element')), {'trigger': 'hover'});
+      App.popover($(this.get('element')), {
+        template: '<div class="popover"><div class="arrow"></div><div
class="popover-inner"><h3 class="popover-title"></h3><div class="popover-content"></div></div></div>',
+        trigger: 'hover'
+      });
     }
   }),
 


Mime
View raw message