[pgAdmin4][Patch]: Select2 control destroy issue [Minor fix] - Mailing list pgadmin-hackers

From Surinder Kumar
Subject [pgAdmin4][Patch]: Select2 control destroy issue [Minor fix]
Date
Msg-id CAM5-9D9CkiQ10Tdann6cA_LDmDcuiZLcNRtWvka0fLt5h3izcA@mail.gmail.com
Whole thread Raw
Responses Re: [pgAdmin4][Patch]: Select2 control destroy issue [Minor fix]
List pgadmin-hackers
Hi

While clicking on Select2 control, it tries to destroy the control and thus it doesn't get this object sometimes and throws error.

It should attempt to destroy the select2 object only if this object is not undefined.
Adds proper check to handle the case.

Please find minor patch and review.

Thanks
Surinder Kumar
Attachment

pgadmin-hackers by date:

Previous
From: Surinder Kumar
Date:
Subject: Re: [pgAdmin4][Patch]: RM1728 - Properties are not refreshing after objects are edited
Next
From: Surinder Kumar
Date:
Subject: [Patch]: Error while renaming FTS dictionary and FTS template nodes