Commit 43181b67 authored by Nicolas's avatar Nicolas

bug tout déplier, maintenant attaché à la vue

parent a88aceb1
...@@ -465,8 +465,8 @@ window.W = window.W || {}; ...@@ -465,8 +465,8 @@ window.W = window.W || {};
'blur #title' : 'editTextProperty', 'blur #title' : 'editTextProperty',
'blur #stage_set': 'editTextProperty', 'blur #stage_set': 'editTextProperty',
'click .mode': 'setEdit', 'click .mode': 'setEdit',
'click .mode_vue': 'setEditVue' 'click .mode_vue': 'setEditVue',
//'click .deplieTout': 'deplieTout', 'click .deplieTout': 'deplieTout',
}, },
setEdit: function(e){ setEdit: function(e){
console.log("edit"); console.log("edit");
...@@ -479,7 +479,7 @@ window.W = window.W || {}; ...@@ -479,7 +479,7 @@ window.W = window.W || {};
this.render(); this.render();
}, },
deplieTout: function(e){ deplieTout: function(e){
$('li').attr('data-toggled',false);
}, },
editTextProperty: function(e) { editTextProperty: function(e) {
console.log('íci'); console.log('íci');
......
...@@ -295,10 +295,10 @@ ...@@ -295,10 +295,10 @@
{ {
$(this).parent().parent().hide(); $(this).parent().parent().hide();
}); });
$('.deplieTout').click(function(){ // $('.deplieTout').click(function(){
$('li').attr('data-toggled',false); // $('li').attr('data-toggled',false);
//
}); // });
}); });
</script> </script>
......
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