Skip to content

Commit

Permalink
Update host indicator when config is loaded not on tab change
Browse files Browse the repository at this point in the history
  • Loading branch information
hurradieweltgehtunter committed Jul 1, 2021
1 parent b82671d commit c660ee6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions js/wizard/configModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,8 @@ OCA = OCA || {};
$.each(result['configuration'], function(key, value) {
model.configuration[key] = value;
});

$('.ldap_config_state_indicator_subline').html(result['configuration']['ldap_host'] + ':' + result['configuration']['ldap_port'])
}
model.loadingConfig = false;
model._broadcast('configLoaded', model.configuration);
Expand Down
2 changes: 0 additions & 2 deletions js/wizard/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,6 @@ OCA = OCA || {};
if(!_.isUndefined(this.tabs[newTabID])) {
this._controlUpdate(this.tabs[newTabID].tabIndex);
}

$('.ldap_config_state_indicator_subline').html($('#ldap_host').val() + ':' + $('#ldap_port').val())
},

/**
Expand Down

0 comments on commit c660ee6

Please sign in to comment.