aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/config.js-example
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2017-07-18 19:35:53 +0100
committerDave Arter <davea@mysociety.org>2018-04-30 13:13:02 +0100
commit8d8e65fb32b47eeccb3b82ddd1111a8d24856a4d (patch)
treeec2563a5022ebb9bf51619f305a9a6b7d57e2c14 /www/js/config.js-example
parentc4dcd37dede1a1736aa391a05c2020815390a79f (diff)
Add CONFIG.SKIP_CONFIRM_REPORT to skip confirm page if logged in
Diffstat (limited to 'www/js/config.js-example')
-rw-r--r--www/js/config.js-example7
1 files changed, 6 insertions, 1 deletions
diff --git a/www/js/config.js-example b/www/js/config.js-example
index 3ca674c..6be0250 100644
--- a/www/js/config.js-example
+++ b/www/js/config.js-example
@@ -64,7 +64,12 @@ var CONFIG = {
// The ratio of the data bounds to the viewport bounds (in each dimension).
// See http://dev.openlayers.org/releases/OpenLayers-2.13.1/doc/apidocs/files/OpenLayers/Strategy/BBOX-js.html
- MAP_LOADING_RATIO: 2
+ MAP_LOADING_RATIO: 2,
+
+ // If the user is logged in and this setting is true, the 'Your details'
+ // page is skipped and the report is sent immediately after the report
+ // details have been entered.
+ SKIP_CONFIRM_REPORT: false
};