diff options
| author | hallgren <hallgren@chalmers.se> | 2012-11-23 18:51:44 +0000 |
|---|---|---|
| committer | hallgren <hallgren@chalmers.se> | 2012-11-23 18:51:44 +0000 |
| commit | e0e8f89484efaec39e77e5c645697d311baaa0e4 (patch) | |
| tree | cdf09458cdbd6717854cfb4db81a43412221f264 /src/www/gfse/cloud2.js | |
| parent | 53858fbc81fb2e1844bd43aa579a8b521f4606b5 (diff) | |
gfse: use POST requests when parsing grammar modules after editing as text
instead of GET, to avoid the Apache httpd URI length limitation.
This means that gfse can no longer use JSONP when parsing grammars, so it
has to be located on the same host as the cloud service.
Also clean away trailing white space in support.js.
Diffstat (limited to 'src/www/gfse/cloud2.js')
| -rw-r--r-- | src/www/gfse/cloud2.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/www/gfse/cloud2.js b/src/www/gfse/cloud2.js index d949a6ccc..ce5371145 100644 --- a/src/www/gfse/cloud2.js +++ b/src/www/gfse/cloud2.js @@ -259,7 +259,8 @@ function gfshell(cmd,cont) { // Check the syntax of a source module function check_module(path,source,cont) { var enc=encodeURIComponent; - http_get_json("/parse?"+enc(path)+"="+enc(source),cont) + //http_get_json("/parse?"+enc(path)+"="+enc(source),cont) + ajax_http_post_json("/parse",enc(path)+"="+enc(source),cont) } // Check the syntax of an expression |
