From: <li...@us...> - 2015-04-27 04:27:02
|
Revision: 55234 http://sourceforge.net/p/tikiwiki/code/55234 Author: lindonb Date: 2015-04-27 04:26:55 +0000 (Mon, 27 Apr 2015) Log Message: ----------- [FIX] Correct javascript check for tablesorter. Modified Paths: -------------- branches/14.x/lib/core/Table/Check.php Modified: branches/14.x/lib/core/Table/Check.php =================================================================== --- branches/14.x/lib/core/Table/Check.php 2015-04-27 04:19:50 UTC (rev 55233) +++ branches/14.x/lib/core/Table/Check.php 2015-04-27 04:26:55 UTC (rev 55234) @@ -29,9 +29,9 @@ static public function isEnabled($ajax = false) { global $prefs; - if ($prefs['disableJavascript'] == 'n' && $prefs['feature_jquery_tablesorter'] == 'y') { + if ($prefs['javascript_enabled'] === 'y' && $prefs['feature_jquery_tablesorter'] === 'y') { if ($ajax === true) { - if ($prefs['feature_ajax'] == 'y') { + if ($prefs['feature_ajax'] === 'y') { return true; } else { return false; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |