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