Bugfix in project_edit.js.