=> Before initiating the request (I guess the ITs are failing because
of this)
Review.command_label(@review_command),
:url => {:action => 'run_review_command'},
:html => {:id => "submit_btn"},
- :loading => "$('loading').show();",
+ :before => "$('loading').show();",
:update => 'review' -%>
<%= link_to_remote message('cancel'), :url => {:action => 'show', :id => params[:id]}, :update => 'review' -%>
button_label,
:url => {:action => 'violation_save_comment'},
:html => {:id => "submit_btn"+params[:id]}.merge(@review_command ? {} : {:disabled => "true"}),
- :loading => "$('loading-#{params[:id]}').show();",
+ :before => "$('loading-#{params[:id]}').show();",
:update => 'vId'+params[:id] -%>
<%= link_to_function message('cancel'), "cancelViolationAction(#{params[:id]})" -%>