Displaying 2 results from an estimated 2 matches for "service_desk_part".
2008 May 26
0
setfocus to a field in view
Hi
I have a div "reason_for_transfer_search_sd" like
<div id="reason_for_transfer_search_sd" >
<%= render :partial =>
"service_desk_part/on_action_transfer_reason_sd_search", :locals => {
:sd_ticket=>sd_ticket } %>
</div>
And in on_action_transfer_reason_sd_search
<%= text_area_tag "transfer_reason", nil, :size => "50x1" %>
<%= link_to_remote "Submit",
{:with =>...
2008 May 13
4
calling another rjs file in an if condition
...s_history.save
@sd_ticket.update_attribute("service_desk_status_id",params[:status_id])
end #end of transaction
if params[:page]==''search_sd_ticket''
render :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 abo...