Issue #2357203 by eshta: Fix JS error when deleting a variation in Windows/Firefox.