Commit 28d04f0
committed
Set animation duration to immediate
Default animation duration was 300ms. It controls how long turbo-control
will wait before restoring default confirm modal content (empty
template). Due to that there could be a condition if you click
fast enough when requesting a different confirm dialog, e.g. in
products table clicking "Delete", closing modal and then clicking
"Deactivate", then modal contents would be overwritten with previous
modal contents.
Since we don't use any kind of animation for modals we can put 0
duration to mitigate that bug.1 parent 151273c commit 28d04f0
File tree
1 file changed
+1
-0
lines changed- admin/app/javascript/solidus_admin/rolemodel
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
0 commit comments