git-svn-id: http://svn.redmine.org/redmine/trunk@20436 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/4.2.0
@@ -65,12 +65,12 @@ class EnumerationsController < ApplicationController | |||
flash[:notice] = l(:notice_successful_update) | |||
redirect_to enumerations_path | |||
end | |||
format.js { head 200 } | |||
format.js {head 200} | |||
end | |||
else | |||
respond_to do |format| | |||
format.html { render :action => 'edit' } | |||
format.js { head 422 } | |||
format.html {render :action => 'edit'} | |||
format.js {head 422} | |||
end | |||
end | |||
end |