diff --git a/application/views/default/scripts/index/index.phtml b/application/views/default/scripts/index/index.phtml index e192a183..66bce6b2 100644 --- a/application/views/default/scripts/index/index.phtml +++ b/application/views/default/scripts/index/index.phtml @@ -25,19 +25,3 @@ action('financiere', 'criteres')?> - - diff --git a/public/themes/default/scripts/scripts.js b/public/themes/default/scripts/scripts.js index 14689389..415bf3ed 100644 --- a/public/themes/default/scripts/scripts.js +++ b/public/themes/default/scripts/scripts.js @@ -79,10 +79,19 @@ $(document).ready(function(){ $('.'+name).show('slide'); } }); - + $( "#accordion" ).accordion({ autoHeight: false, - navigation: true + navigation: true, + icons: { + header: "ui-icon-circle-arrow-e", + headerSelected: "ui-icon-circle-arrow-s" + } + }); + $( "#toggle" ).button().toggle(function() { + $( "#accordion" ).accordion( "option", "icons", false ); + }, function() { + $( "#accordion" ).accordion( "option", "icons", icons ); }); $( "#sortable" ).sortable({