summaryrefslogtreecommitdiffstats
path: root/usr/local/www/headjs.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/headjs.php')
-rw-r--r--usr/local/www/headjs.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/headjs.php b/usr/local/www/headjs.php
index eacaa23..e420078 100644
--- a/usr/local/www/headjs.php
+++ b/usr/local/www/headjs.php
@@ -48,7 +48,10 @@ function getHeadJS() {
var input_errors = '';
Event.observe(window, 'load', init, false);
";
+ if (!session_id())
+ session_start();
$_SESSION['NO_AJAX'] == "True" ? $noajax = "var noAjaxOnSubmit = true;" : $noajax = "var noAjaxOnSubmit = false;";
+ session_commit();
$headjs .= "
{$noajax}
OpenPOWER on IntegriCloud