Displaying 1 result from an estimated 1 matches for "sd_activity_history".
2008 May 13
4
calling another rjs file in an if condition
...r :update do |page|
#page[:flow_item_find_search_sd].replace_html
"service_desk_part/service_desk_flow_item_find_search_sd",
:locals=>{:sd_ticket=>@sd_ticket}
end
end
#The below portion i dont want to execute if the above condition
satisfied
@sd_activity_history=@sd_ticket.service_desk_status_histories
-------code
end
In the above what i am trying to do is if the if condition
if params[:page]==''search_sd_ticket'' is satisfied call another rjs
instead of the default rjs file
edit_service_desk_status_after_transfer.rjs .The ab...