AdminOnSteroids
AdminOnSteroids copied to clipboard
AdminOnSteroids is preventing the dialog for cloning repeater elements from closing.
AdminOnSteroids is preventing the dialog for cloning repeater elements from closing.
Steps to reproduce this. — Press the icon to clone a element in a repeater field. (A dialog opens) — Press "ok" in the dialog. (The element is cloned but the dialog doesn't close)
— Do the same with AdminOnSteroids disabled. (All goes as it should)
I couldn't reproduce. Could you provide some details like what admin theme are you using and what AOS submodules are turned on? The best would be if you could narrow it down to one submodule if it's caused by that.
The admin is uikit. I'll do that at a later point since it's quite time consuming, for now, as a workaround, I'm just closing the overlay with jquery so I can carry on with the project :)
$("body").on("click", ".vex-dialog-buttons button", function(){ console.log($(this).closest(".vex")); $(this).closest(".vex").hide(); })