Sha256: e276416cd19d9fe28537bffcea11c5619c0f0e8598efe445226db66820ef0eb3
Contents?: true
Size: 1005 Bytes
Versions: 5
Compression:
Stored size: 1005 Bytes
Contents
/* Template Name: Color Admin - Responsive Admin Dashboard Template build with Twitter Bootstrap 5 Version: 5.1.5 Author: Sean Ngu Website: http://www.seantheme.com/color-admin/ */ var handleBootstrapWizardsValidation = function() { "use strict"; $('#wizard').smartWizard({ selected: 0, theme: 'default', transitionEffect:'', transitionSpeed: 0, useURLhash: false, showStepURLhash: false, toolbarSettings: { toolbarPosition: 'bottom' } }); $('#wizard').on('leaveStep', function(e, anchorObject, stepNumber, stepDirection) { var res = $('form[name="form-wizard"]').parsley().validate('step-' + (stepNumber + 1)); return res; }); $('#wizard').keypress(function( event ) { if (event.which == 13 ) { $('#wizard').smartWizard('next'); } }); }; var FormWizardValidation = function () { "use strict"; return { //main function init: function () { handleBootstrapWizardsValidation(); } }; }(); $(document).ready(function() { FormWizardValidation.init(); });
Version data entries
5 entries across 5 versions & 1 rubygems