Destroy select2 controls before re-rendering [pgadmin4]

From: Harshal Dhumal <harshal(dot)dhumal(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Destroy select2 controls before re-rendering [pgadmin4]
Date: 2016-05-12 10:28:32
Message-ID: CAFiP3vxJc0jxzxtGk3Nx-=RiwN-55t+qcw4AvJ0=CyCT875SHg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi,

PFA patch for select2 controls.

Change: Destroy existing any select2 controls before re-rendering them.
Otherwise this was causing wired dialogue UI hang issue.

--
*Harshal Dhumal*
*Software Engineer *

EenterpriseDB <http://www.enterprisedb.com>

Attachment Content-Type Size
select2_destroy.patch text/x-patch 1.7 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Ashesh Vashi 2016-05-12 10:44:26 pgAdmin 4 commit: Destroy the existing Select2 object before rerenderin
Previous Message Ashesh Vashi 2016-05-12 10:22:24 pgAdmin 4 commit: Do not validate the attributes on saving, because - s