Fix channel add/edit in firefox 31 (issue #4290)