[
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)