X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=yarrg%2Fweb%2Fqtextstring;h=84564df55205125a2bbad3deac5611b256167582;hb=66482684911b5a12a5182797de54a24c2b31c29a;hp=82c29dcda728e030ef4587fca3dc0a086b9bce87;hpb=b6d8c4a781c0bedf79a4b13af5afe9ad47de97ed;p=ypp-sc-tools.db-live.git
diff --git a/yarrg/web/qtextstring b/yarrg/web/qtextstring
index 82c29dc..84564df 100644
--- a/yarrg/web/qtextstring
+++ b/yarrg/web/qtextstring
@@ -36,17 +36,17 @@
%doc>
<%args>
-$thingstring
$qa => $m->caller_args(1)->{'qa'}
+$dbh
+$thingstring
+$emsgstore
+$perresult
%args>
<%perl>
my $stringval= $qa->{$thingstring};
$stringval='' if !defined $stringval;
%perl>
-Enter route (islands, or archipelagoes, separated by |s or commas;
- abbreviations are OK):
-
<&| script &>
ts_uri= "qtextstringcheck?format=application/json&ctype=text/xml"
+ "&what=<% $thingstring %>"
@@ -87,7 +87,7 @@ function ts_Ready() {
ts_request= false;
ts_Request();
}
-window.onload= ts_Needed;
+register_onload(ts_Needed);
&script>
content %>
@@ -97,3 +97,19 @@ window.onload= ts_Needed;
>