Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 5587263a9 -> 52b8d02c5


AMBARI-13873 During ranger plugins enabling warning about dependent properties 
is placed incorrectly. (ababiichuk)


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

Branch: refs/heads/branch-2.1
Commit: 52b8d02c52f16b684864d9340e5007f28c830875
Parents: 5587263
Author: aBabiichuk <ababiic...@cybervisiontech.com>
Authored: Fri Nov 13 11:16:10 2015 +0200
Committer: aBabiichuk <ababiic...@cybervisiontech.com>
Committed: Fri Nov 13 11:28:27 2015 +0200

----------------------------------------------------------------------
 ambari-web/app/views/main/service/info/configs.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/52b8d02c/ambari-web/app/views/main/service/info/configs.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/service/info/configs.js 
b/ambari-web/app/views/main/service/info/configs.js
index 5a5bb25..45faeaa 100644
--- a/ambari-web/app/views/main/service/info/configs.js
+++ b/ambari-web/app/views/main/service/info/configs.js
@@ -91,7 +91,7 @@ App.MainServiceInfoConfigsView = Em.View.extend({
       Em.run.next(function () {
         $(".dependencies-info-bar-wrapper").stick_in_parent({parent: 
'#serviceConfig', offset_top: 60});
         Em.run.next(function () {
-          $(window).scrollTop(window.scrollY + 1); // 
'.dependencies-info-bar-wrapper' position should be recalculated
+          $(".dependencies-info-bar-wrapper").trigger("sticky_kit:recalc"); // 
'.dependencies-info-bar-wrapper' position should be recalculated
         });
       });
     }

Reply via email to