From 1e01711e3d3c74baeed9f21d2660d633e50dfb91 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 6 Mar 2011 12:57:03 +0000 Subject: [PATCH] Merged r4946 from trunk. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.1-stable@5015 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/journals_controller.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/controllers/journals_controller.rb b/app/controllers/journals_controller.rb index d3b56e8cb..189204e26 100644 --- a/app/controllers/journals_controller.rb +++ b/app/controllers/journals_controller.rb @@ -75,6 +75,14 @@ class JournalsController < ApplicationController format.html { redirect_to :controller => 'issues', :action => 'show', :id => @journal.journalized_id } format.js { render :action => 'update' } end + else + respond_to do |format| + format.html { + # TODO: implement non-JS journal update + render :nothing => true + } + format.js + end end end -- 2.39.5