Hi, PFA patch to fix the issue with Graphical Explain plan functionality which was breaking for INSERT/UPDATE/DELETE explain plans. RM#2133
*Issue:* It was due to typo in imageMapper object. Please review. -- Regards, Murtuza Zabuawala EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
diff --git a/web/pgadmin/misc/templates/explain/js/explain.js b/web/pgadmin/misc/templates/explain/js/explain.js index 382fd61..3c4c6d9 100644 --- a/web/pgadmin/misc/templates/explain/js/explain.js +++ b/web/pgadmin/misc/templates/explain/js/explain.js @@ -145,11 +145,11 @@ var imageMapper = { } }, "ModifyTable" : function(data) { - switch (data['Operaton']) { - case "insert": return { "image":"ex_insert.png", + switch (data['Operation']) { + case "Insert": return { "image":"ex_insert.png", "image_text":"Insert" }; - case "update": return {"image":"ex_update.png","image_text":"Update"}; + case "Update": return {"image":"ex_update.png","image_text":"Update"}; case "Delete": return {"image":"ex_delete.png","image_text":"Delete"}; } },
-- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers