Explorar el Código

AMBARI-17958. Ranger smart config tabs are broken for HDP 2.2 installation (akovalenko)

Aleksandr Kovalenko hace 9 años
padre
commit
1027229b13

+ 3 - 1
ambari-web/app/mixins/main/service/configs/widget_popover_support.js

@@ -88,7 +88,9 @@ App.WidgetPopoverSupport = Em.Mixin.create({
 
   movePopover: function (action) {
     var popoverSelector = Em.isEmpty(this.$('.original-widget')) ? this.$('.input-append') : this.$('.original-widget');
-    this.$(popoverSelector).popover(action);
+    if (popoverSelector) {
+      this.$(popoverSelector).popover(action)
+    }
   }
 
 });