mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Coverity: Fix possibility of access to attribute of undefined
Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
This commit is contained in:
parent
b82d285a4a
commit
a69c4448c5
@ -253,7 +253,7 @@ widgets.APIBrowserWidget = declare([Stateful, Evented], {
|
||||
|
||||
// switch widget
|
||||
if (widget && !widget.el) widget.render();
|
||||
if (this.current_details_w !== widget) {
|
||||
if (widget && this.current_details_w !== widget) {
|
||||
this.details_el.empty();
|
||||
this.details_el.append(widget.el);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user