[IMP] web: prevent default in _onActionClicked

This avoids odd behaviour when leaving a `href="#"` on a link with
target=action: without preventing the default behaviour, it would first
switch to the application switcher (/web/#) then actually execute the
action.
This commit is contained in:
Xavier Morel
2019-01-29 10:22:17 +00:00
parent 9db74611de
commit 1d1d5ed7ad
@@ -470,6 +470,7 @@ var AbstractController = mvc.Controller.extend(ActionMixin, {
additional_context: _.extend({}, data.context)
});
}
return false;
},
/**
* FIXME: this logic should be rethought