Fixes template editor to re-enable ajax saving - might need back porting to 6.2