Don't try to automatically open a SQL edit window
authorKarl O. Pinc <kop@karlpinc.com>
Fri, 13 Sep 2024 18:40:48 +0000 (13:40 -0500)
committerKarl O. Pinc <kop@karlpinc.com>
Fri, 13 Sep 2024 18:40:48 +0000 (13:40 -0500)
The problem is that the current sql is not passed to the sql edit
window.  So the new window always opens with no sql.  Changing this
is more bother than it's worth.  At least right now.

src/pgwui_sql/templates/sql.mak

index b9a3e351ceebdc18ac798365d218336162175acd..6b7c783aa5938df87b491846c6924ff6b8304226 100644 (file)
                   + ',top=' + window.screenTop)
            .focus();
   };
-  % if havecreds:
-      open_sql_edit();
-  % endif
 </script>
 
 <%def name="submit(tab_index)">