You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Oleg Nechiporenko (JIRA)" <ji...@apache.org> on 2016/04/12 10:35:25 UTC

[jira] [Updated] (AMBARI-15823) JS error after fast closing version box popup

     [ https://issues.apache.org/jira/browse/AMBARI-15823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Nechiporenko updated AMBARI-15823:
---------------------------------------
    Status: Patch Available  (was: Open)

Patch added

> JS error after fast closing version box popup
> ---------------------------------------------
>
>                 Key: AMBARI-15823
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15823
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.4.0
>            Reporter: Oleg Nechiporenko
>            Assignee: Oleg Nechiporenko
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-15823.patch
>
>
> Error: {{Uncaught TypeError: Cannot read property 'length' of null}}
> Code:
> {code:javascript}
> Em.run.later(this, function () {
>       if (this.get('maintenanceHosts').length + this.get('notRequiredHosts').length) {
>         App.tooltip(this.$('.hosts-section'), {placement: 'bottom', title: Em.I18n.t('admin.stackVersions.version.hostsInfoTooltip').format(
>           this.get('maintenanceHosts').length + this.get('notRequiredHosts').length, this.get('maintenanceHosts').length, this.get('notRequiredHosts').length
>         )});
>       }
>     }, 1000);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)