xycofryx
Member
Fabrik: 3.8.1
Joomla: 3.8.7
Template: Purity III (Fabrik overriden)
Ajax Links: All Enabled
Would it be nice to have those Form/Details Actions to modal footer instead of being included to the <form> tag. I have manage to noob hack it by using JQuery "detach" and "prependTo" it and removing the residual class, but I had to include an "setTimeout" because the noob hack will hinder functionality of the buttons.
Is there some way I can seamlessly attach to the modal-footer will preserving the functionality of the buttons? and also preserving it in case I want to switch to non-modal. Is there such a way?
Joomla: 3.8.7
Template: Purity III (Fabrik overriden)
Ajax Links: All Enabled
Would it be nice to have those Form/Details Actions to modal footer instead of being included to the <form> tag. I have manage to noob hack it by using JQuery "detach" and "prependTo" it and removing the residual class, but I had to include an "setTimeout" because the noob hack will hinder functionality of the buttons.
Code:
/* REASSIGN THE BUTTONS TO FOOTER */
$(".fabrikForm").ajaxSuccess(function(){
setTimeout(function() {
$(".modal-footer-transfer").detach().prependTo(".bottomBar").removeClass("modal-footer-transfer").removeClass("hide");
}, 2000);
});
Is there some way I can seamlessly attach to the modal-footer will preserving the functionality of the buttons? and also preserving it in case I want to switch to non-modal. Is there such a way?