Hi,

PFA minor patch to fix the issue in Grant wizard, In IE browser grant
wizard do not close if user tries to close it by clicking Cancel button or
Close button.
RM#2142

--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
diff --git 
a/web/pgadmin/tools/grant_wizard/templates/grant_wizard/js/grant_wizard.js 
b/web/pgadmin/tools/grant_wizard/templates/grant_wizard/js/grant_wizard.js
index fd0a4e5..f79fb2f 100644
--- a/web/pgadmin/tools/grant_wizard/templates/grant_wizard/js/grant_wizard.js
+++ b/web/pgadmin/tools/grant_wizard/templates/grant_wizard/js/grant_wizard.js
@@ -976,7 +976,7 @@ define([
                           // Clear html dom elements of CodeMirror sql tab
                           self.sqlControl.unbind(); // Unbind all local event 
bindings
                           var cmElem = 
self.sqlControl.sqlCtrl.getWrapperElement();
-                          cmElem.remove();
+                          $(cmElem).remove();
                           self.sqlControl.sqlCtrl = undefined;
                         }
 
-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers

Reply via email to