return '${request.route_path("pgwui_sql_edit")|n}';
}
function pgwuiSqlShowWhitespaceURL() {
- return '${request.static_path(
+ return document.location.protocol + '//'
+ + document.location.host
+ + '${request.static_path(
"pgwui_sql:static/show_whitespace.css")}';
}
function pgwuiSqlBackgroundRulesURL() {
- return '${request.static_path(
+ return document.location.protocol + '//'
+ + document.location.host
+ + '${request.static_path(
"pgwui_sql:static/background_rules.css")}';
}
// Set window name so that the sql_edit window can vary the target