Karl O. Pinc <kop@karlpinc.com>
- See sql.mak for the script that defines
+ See sql.mak for the script which creates the function that deliver
+ template values.
*/
+/* Functions attached to HTML elements */
function openSqlEdit() {
window.open(
pgwuiSqlEditRoute(),
+ ',top=' + window.screenTop)
.focus();
}
+
function whitespaceDisplay(checked) {
if (checked) {
globalThis.tdSqltextSheet.disabled = false;
globalThis.tdSqltextSheet.disabled = true;
}
}
+
+/* Functions for initialization */
function getTdSqltextSheet() {
const url = pgwuiSqlShowWhitespaceURL();
for (const sheet of document.styleSheets) {