I had the following action in my html:
<a href="#" class="list-group-item" disabled {{action addVisibilityService target="view"}}>
element
</a>
and I have the function to handle this action:
addVisibilityService : function(element){
console.log("I've been called");
},
but the problem is that this action is called when is disabled. So I was wondering how to avoid that?
Thanks