From a8307a32fdbf6b681cc05a5340c06317518b4b8e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 7 May 2012 10:08:11 +0200 Subject: [PATCH] New: Switch ecm module to use ajax by default. --- htdocs/core/ajax/ajaxdirpreview.php | 2 +- htdocs/core/class/html.formfile.class.php | 2 +- htdocs/ecm/index.php | 13 +++++-------- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/htdocs/core/ajax/ajaxdirpreview.php b/htdocs/core/ajax/ajaxdirpreview.php index 2cbfd14bb99..3304e85b637 100644 --- a/htdocs/core/ajax/ajaxdirpreview.php +++ b/htdocs/core/ajax/ajaxdirpreview.php @@ -255,7 +255,7 @@ if ($type == 'directory') } -if ((! isset($mode) || $mode != 'noajax') && ! empty($conf->global->MAIN_ECM_TRY_JS)) +if ((! isset($mode) || $mode != 'noajax') && empty($conf->global->MAIN_ECM_DISABLE_JS)) { // Enable jquery handlers on new generated HTML objects print "\n".'