Fixed remote and non-remote link mixtures bug.
This commit is contained in:
parent
8fb4334610
commit
596f5657bc
1 changed files with 4 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue