// Fixed #PSCFV-1559 and changed default values of bxSlider

This commit is contained in:
bMancone committed 2012-04-30 09:08:21 +00:00
1 parent fc637f8083
commit 195ccbda9e
2 files changed
+6 -7

No files matched your search

+2 -2
View File
@@ -65,8 +65,8 @@ class HomeSlider extends Module
/* Sets up configuration */ /* Sets up configuration */
$res = Configuration::updateValue('HOMESLIDER_WIDTH', '535'); $res = Configuration::updateValue('HOMESLIDER_WIDTH', '535');
$res &= Configuration::updateValue('HOMESLIDER_HEIGHT', '300'); $res &= Configuration::updateValue('HOMESLIDER_HEIGHT', '300');
$res &= Configuration::updateValue('HOMESLIDER_SPEED', '1300'); $res &= Configuration::updateValue('HOMESLIDER_SPEED', '500');
$res &= Configuration::updateValue('HOMESLIDER_PAUSE', '7700'); $res &= Configuration::updateValue('HOMESLIDER_PAUSE', '3000');
$res &= Configuration::updateValue('HOMESLIDER_LOOP', '1'); $res &= Configuration::updateValue('HOMESLIDER_LOOP', '1');
/* Creates tables */ /* Creates tables */
$res &= $this->createTables(); $res &= $this->createTables();
+4 -5
View File
@@ -26,11 +26,10 @@
$(function(){ $(function(){
if (!homeslider_speed == undefined) if (typeof(homeslider_speed) == 'undefined')
var homeslider_speed = 300; homeslider_speed = 500;
if (!homeslider_pause == undefined) if (typeof(homeslider_pause) == 'undefined')
var homeslider_pause = 6000; homeslider_pause = 3000;
if (typeof(homeslider_loop) == 'undefined') if (typeof(homeslider_loop) == 'undefined')
homeslider_loop = true; homeslider_loop = true;