AdminOnSteroids icon indicating copy to clipboard operation
AdminOnSteroids copied to clipboard

AdminOnSteroids is preventing the dialog for cloning repeater elements from closing.

Open ocorreiododiogo opened this issue 5 years ago • 3 comments

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)

ocorreiododiogo avatar Nov 28 '18 12:11 ocorreiododiogo

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.

rolandtoth avatar Nov 28 '18 15:11 rolandtoth

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(); })

ocorreiododiogo avatar Nov 28 '18 15:11 ocorreiododiogo