Commit 7a758fce authored by Vincent Gabriel's avatar Vincent Gabriel
Browse files

minfied version

parent ebbfb0d6
......@@ -8,7 +8,7 @@
* http://www.gnu.org/licenses/gpl.html
* Authors: Vadim Vincent Gabriel (http://vadimg.com), Jason Gill (www.gilluminate.com)
*/
(function(e){var k=function(d,g){d=e(d);var a=this,b=e.extend({},e.fn.bootstrapWizard.defaults,g),f=null,c=null;this.rebindClick=function(b,a){b.unbind("click",a).one("click",a)};this.fixNavigationButtons=function(){f.length||(c.find("a:first").tab("show"),f=c.find("li:first"));e(b.previousSelector,d).toggleClass("disabled",a.firstIndex()>=a.currentIndex());e(b.nextSelector,d).toggleClass("disabled",a.currentIndex()>=a.navigationLength());a.rebindClick(e(b.nextSelector,d),a.next);a.rebindClick(e(b.previousSelector,
(function(e){var k=function(d,g){d=e(d);var a=this,b=e.extend({},e.fn.bootstrapWizard.defaults,g),f=null,c=null;this.rebindClick=function(b,a){b.unbind("click",a).bind("click",a)};this.fixNavigationButtons=function(){f.length||(c.find("a:first").tab("show"),f=c.find("li:first"));e(b.previousSelector,d).toggleClass("disabled",a.firstIndex()>=a.currentIndex());e(b.nextSelector,d).toggleClass("disabled",a.currentIndex()>=a.navigationLength());a.rebindClick(e(b.nextSelector,d),a.next);a.rebindClick(e(b.previousSelector,
d),a.previous);a.rebindClick(e(b.lastSelector,d),a.last);a.rebindClick(e(b.firstSelector,d),a.first);if(b.onTabShow&&"function"===typeof b.onTabShow&&!1===b.onTabShow(f,c,a.currentIndex()))return!1};this.next=function(h){if(d.hasClass("last")||b.onNext&&"function"===typeof b.onNext&&!1===b.onNext(f,c,a.nextIndex()))return!1;$index=a.nextIndex();$index>a.navigationLength()||c.find("li:eq("+$index+") a").tab("show")};this.previous=function(h){if(d.hasClass("first")||b.onPrevious&&"function"===typeof b.onPrevious&&
!1===b.onPrevious(f,c,a.previousIndex()))return!1;$index=a.previousIndex();0>$index||c.find("li:eq("+$index+") a").tab("show")};this.first=function(h){if(b.onFirst&&"function"===typeof b.onFirst&&!1===b.onFirst(f,c,a.firstIndex())||d.hasClass("disabled"))return!1;c.find("li:eq(0) a").tab("show")};this.last=function(h){if(b.onLast&&"function"===typeof b.onLast&&!1===b.onLast(f,c,a.lastIndex())||d.hasClass("disabled"))return!1;c.find("li:eq("+a.navigationLength()+") a").tab("show")};this.currentIndex=
function(){return c.find("li").index(f)};this.firstIndex=function(){return 0};this.lastIndex=function(){return a.navigationLength()};this.getIndex=function(a){return c.find("li").index(a)};this.nextIndex=function(){return c.find("li").index(f)+1};this.previousIndex=function(){return c.find("li").index(f)-1};this.navigationLength=function(){return c.find("li").length-1};this.activeTab=function(){return f};this.nextTab=function(){return c.find("li:eq("+(a.currentIndex()+1)+")").length?c.find("li:eq("+
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment