pgAdmin 4 commit: While clicking on Select2 control, it tries to destro

From: Dave Page <dpage(at)pgadmin(dot)org>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin 4 commit: While clicking on Select2 control, it tries to destro
Date: 2016-10-14 19:20:35
Message-ID: E1bv81z-0004wo-Ha@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=7f507f294ef792e0c14611e473822570b8cc21b5
Author: Surinder Kumar <surinder(dot)kumar(at)enterprisedb(dot)com>

Modified Files
--------------
web/pgadmin/static/js/backform.pgadmin.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2016-10-14 19:20:43 Re: [pgAdmin4][Patch]: Select2 control destroy issue [Minor fix]
Previous Message Dave Page 2016-10-14 19:19:17 Re: [pgAdmin4][Patch]: RM1728 - Properties are not refreshing after objects are edited