cubicweb #4178566 generalize callAddOrDeleteThenReload for other use cases [validation pending]

3.19.0 introduced this ad-hoc js function for the EditRelationMixIn. A more generic function that makes an ajax call then reloads the page would provide a suitable replacement for other user_callback callers. One such case is tracker's TicketMoveToNextVersionActions.

prioritynormal
typebug
done in3.19.4
load0.500
load left0.000
closed by#30b56a56c1f4 [web/js] replace callAddOrDeleteThenReload with more generic callAjaxFuncThenReload
patch[web/js] replace callAddOrDeleteThenReload with more generic callAjaxFuncThenReload [applied]