Skip to content
Snippets Groups Projects
Commit 356f9ba7 authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

no need for jquery-cookie, form state is not saved

parent a770e418
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,6 @@ nobase_www_DATA = \
images/geant_logo_rgb_300dpi.jpg \
account-manager.js \
jquery-3.3.1.min.js \
jquery-cookie-1.4.1.min.js \
jquery-steps-1.1.0.min.js \
jquery-ui-1.12.1/images/ui-icons_444444_256x240.png \
jquery-ui-1.12.1/images/ui-icons_555555_256x240.png \
......
/*! jquery.cookie v1.4.1 | MIT */
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?a(require("jquery")):a(jQuery)}(function(a){function b(a){return h.raw?a:encodeURIComponent(a)}function c(a){return h.raw?a:decodeURIComponent(a)}function d(a){return b(h.json?JSON.stringify(a):String(a))}function e(a){0===a.indexOf('"')&&(a=a.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return a=decodeURIComponent(a.replace(g," ")),h.json?JSON.parse(a):a}catch(b){}}function f(b,c){var d=h.raw?b:e(b);return a.isFunction(c)?c(d):d}var g=/\+/g,h=a.cookie=function(e,g,i){if(void 0!==g&&!a.isFunction(g)){if(i=a.extend({},h.defaults,i),"number"==typeof i.expires){var j=i.expires,k=i.expires=new Date;k.setTime(+k+864e5*j)}return document.cookie=[b(e),"=",d(g),i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("")}for(var l=e?void 0:{},m=document.cookie?document.cookie.split("; "):[],n=0,o=m.length;o>n;n++){var p=m[n].split("="),q=c(p.shift()),r=p.join("=");if(e&&e===q){l=f(r,g);break}e||void 0===(r=f(r))||(l[q]=r)}return l};h.defaults={},a.removeCookie=function(b,c){return void 0===a.cookie(b)?!1:(a.cookie(b,"",a.extend({},c,{expires:-1})),!a.cookie(b))}});
\ No newline at end of file
......@@ -13,7 +13,6 @@
<link rel="stylesheet" type="text/css" href="css/style.css" />
<script type="text/javascript" src="jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="jquery-cookie-1.4.1.min.js"></script>
<script type="text/javascript" src="jquery-steps-1.1.0.min.js"></script>
<script type="text/javascript" src="jquery-ui-1.12.1/jquery-ui.min.js"></script>
<script type="text/javascript" src="jquery-validation-1.17.0.min.js"></script>
......
......@@ -9,7 +9,6 @@ jQuery(document).ready(function($){
bodyTag: "fieldset",
stepsOrientation: "vertical",
transitionEffect: "slideLeft",
//saveState: true,
onStepChanging: function (event, currentIndex, newIndex)
{
......
......@@ -13,7 +13,6 @@
<link rel="stylesheet" type="text/css" href="css/style.css" />
<script type="text/javascript" src="jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="jquery-cookie-1.4.1.min.js"></script>
<script type="text/javascript" src="jquery-steps-1.1.0.min.js"></script>
<script type="text/javascript" src="jquery-ui-1.12.1/jquery-ui.min.js"></script>
<script type="text/javascript" src="jquery-validation-1.17.0.min.js"></script>
......
......@@ -13,7 +13,6 @@ jQuery(document).ready(function($){
next: "Suivant",
previous: "Précédent",
},
//saveState: true,
onStepChanging: function (event, currentIndex, newIndex)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment