MDL-37453 fixing regression from MDL-36550 - label show/hide in AJAX works incorrectly