Fixed remote and non-remote link mixtures bug.

This commit is contained in:
Benjamin Meichsner 2009-04-03 17:35:00 +02:00
parent 8fb4334610
commit 596f5657bc

View file

@ -33,7 +33,10 @@ class Finance::BalancingController < ApplicationController
:order => sort
)
case params[:view]
view = params[:view]
params[:view] = nil
case view
when 'editResults'
render :partial => 'edit_results_by_articles' and return
when 'groupsOverview'
@ -41,15 +44,6 @@ class Finance::BalancingController < ApplicationController
when 'articlesOverview'
render :partial => 'shared/articles_by_articles', :locals => {:order => @order} and return
end
respond_to do |format|
format.html # new.haml
format.js do
render :update do |page|
page.replace_html 'results', :partial => "edit_results_by_articles"
end
end
end
end
def edit_note