Hi,

Currently we only hide and removing html part of subnode form. This does
not remove/destroy controls of subnode. And therefore any listeners of
control(s) triggers even though subnode is in closed state.

To fix this properly remove/destroy Dialogue form when subnode is closed.
This will also destroy all controls within it.



-- 
*Harshal Dhumal*
*Software Engineer *



EenterpriseDB <http://www.enterprisedb.com>
diff --git a/web/pgadmin/static/js/backgrid/backgrid.pgadmin.js b/web/pgadmin/static/js/backgrid/backgrid.pgadmin.js
index e42c4cf..5197f15 100644
--- a/web/pgadmin/static/js/backgrid/backgrid.pgadmin.js
+++ b/web/pgadmin/static/js/backgrid/backgrid.pgadmin.js
@@ -139,7 +139,7 @@
       return this;
     },
     remove: function() {
-      this.$dialog.modal("hide").remove();
+      this.objectView.remove();
       Backgrid.CellEditor.prototype.remove.apply(this, arguments);
       if (this.tr) {
         this.tr.remove();
-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers

Reply via email to