I’m adding buttons to my Taskline like this:
and
gantt.config.columns = [
{name:“title”, label:“Produktion”, tree:true, width:’*’ },
{name:“tools”, label:“Tools”, tree:false, width:‘40’ }
];
This basically works fine, but after changing a Task via Pop-up, I can’t click the Button any more.
I tried two ways:
jQuery(’.button_set_ok’).click(function(e){
reacts as described.
jQuery(‘html,body’).on(‘click’, ‘.button_set_ok’, function(e) {
also works after changing, but here I need to select the task before I’m able to click the button.
So I need twi clicks…
Any advice?
Thanks a lot
Martin