From: Karl O. Pinc Date: Mon, 30 Sep 2024 00:24:47 +0000 (-0500) Subject: Add help text to say downloads do not use server RAM X-Git-Url: https://papio.biology.duke.edu/gitweb/?a=commitdiff_plain;h=5a85cb310272e232afaf73160d00650bf050d689;p=pgwui_sql Add help text to say downloads do not use server RAM --- diff --git a/src/pgwui_sql/static/sql_edit.js b/src/pgwui_sql/static/sql_edit.js index 9ecac76..d8828ca 100644 --- a/src/pgwui_sql/static/sql_edit.js +++ b/src/pgwui_sql/static/sql_edit.js @@ -80,6 +80,14 @@ function attachEvents() { + ' Data containing tab characters will introduce' + ' spurious/extra columns.' )); + document.getElementById('download_help_id') + .addEventListener("click", () => + window.alert( + "Downloading does not put SQL results in the webserver's RAM," + + " or your browser's RAM," + + ' so downloading may be able to return larger data sets' + + ' than on-screen display.' + )); } attachEvents(); diff --git a/src/pgwui_sql/templates/sql_edit.mak b/src/pgwui_sql/templates/sql_edit.mak index 7ce75d8..c509e09 100644 --- a/src/pgwui_sql/templates/sql_edit.mak +++ b/src/pgwui_sql/templates/sql_edit.mak @@ -191,7 +191,7 @@ ## Download <%self.lib:td_label for_id="download_id"> - Download + Download? <%self.lib:td_input tab_index="${tab_index}">