Hi
I have the code
@service_desk_resolution=ServiceDeskResolution.find @sd_resolution_id
@sd_resolv=ServiceDeskResolutionEffort.new
@[EMAIL PROTECTED](@sd_effort)
error_value=0
respond_to do |format|
@error_message=''
@ret_val.each do |val|
if val=='nonnumeric'
@[EMAIL PROTECTED]'<br>'+'Please enter the numeric
value for effort.'+'<br>'
error_value=1
end
end
if @sd_ticket.service_desk_cis.empty?
@[EMAIL PROTECTED]'<br>'+'No associated
CIs.'+'<br>'
error_value=1
end
if error_value==1
format.js do
#here get IE6 problem
puts 'in format.js'
render :action => 'sd_resolution_range_nonnumeric_ci_check.rjs'
end
format.html do
puts 'in error else part format.html'
flash[:[EMAIL PROTECTED]
redirect_to :action => 'define_sd_resolution_ui',:id =>
params[:id]
end
And I am calling the same from both ajax and normal way(ie link_to
and link_to_remote)..It is working properly in Firefox..But when I
checked in IE6 what happens is if the clicked link is link_to then also
it ennters to format.js instaed of format.html And I can't figure out
why this happens in IE6.Please help
Thanks in advance
Sijo
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---