Skip to content

Returning guider on next and prev methods #76

maraujop opened this Issue Aug 13, 2012 · 1 comment

2 participants


This can be useful to know what is the next and previous step's id or other information.

next_guider =
next_step = next_guider['id']

This is a simple patch that adds this feature:

diff --git a/static/js/libraries/guiders-1.2.8.js b/static/js/libraries/guiders-1.2.8.js
index 90ec37a..22a8cd4 100644
--- a/static/js/libraries/guiders-1.2.8.js
+++ b/static/js/libraries/guiders-1.2.8.js
@@ -380,6 +380,7 @@ var guiders = (function($) {
+      return myGuider;

@@ -407,6 +408,7 @@ var guiders = (function($) {
+      return prevGuider;



Got it in for the next version. Thanks! Also, just fyi, I have added a dev branch. This way contributors can issue pull requests to the dev branch, and I can pull directly into it, rather than only having one master branch.

@pickhardt pickhardt closed this Jan 27, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.