So, element that triggered AJAX gets disabled. But how to make Drupal also disable everything inside
['#ajax']['wrapper']? After all, allowing user to edit something that will get replaced as soon as AJAX response is ready isn't the wisest idea, and I'd like to prevent that. And my AJAX created elements have their own AJAX too, race conditions are pretty bad already.
Is there any ready-made module for that? Or API way I'm missing? If no, where exactly should I put that code to minimize risk of incompatibilities?
disable-on-Y, but I need to know if it's X or Y AJAX happening. And ideally I'd just disable everything inside
['#ajax']['wrapper'] without any additional marks, as they are not really needed - but again, I would need to know proper