From 814d7ff0932e45541d03c7c9471d40f8f3197806 Mon Sep 17 00:00:00 2001 From: Antoine Nguyen Date: Tue, 3 Apr 2012 15:33:14 +0200 Subject: [PATCH] Fixed wizard issues see #204 --- static/css/custom.css | 2 +- static/js/creation_wizard.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/static/css/custom.css b/static/css/custom.css index 01f211571..5ac3f905c 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -82,7 +82,7 @@ body { } .buttons_list .active { - display: block; + display: inline; } .tr-selected { diff --git a/static/js/creation_wizard.js b/static/js/creation_wizard.js index 0f4fe3d13..458cb6221 100644 --- a/static/js/creation_wizard.js +++ b/static/js/creation_wizard.js @@ -1,6 +1,7 @@ (function($) { var Cwizard = function(element, options) { this.$element = $(element); + this.$element.carousel({pause: true}); this.$element.carousel("pause"); this.setcallbacks(); }; @@ -51,8 +52,9 @@ prev: function(evt) { evt.preventDefault(); - this.$element.on('slid', update_buttons); + this.$element.on('slid', this.update_buttons); this.$element.carousel('prev'); + this.setcallbacks(); }, submit: function(evt) {