[#3294] Expand the new form if the project doesn't have any deliverables yet.

This commit is contained in:
Eric Davis committed 2009-11-11 13:16:00 -08:00
1 parent d552aa7f6f
commit a53ceb2804
2 files changed
+13 -3

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ class DeliverablesController < ApplicationController
@budget = Budget.new(@project.id)
@display_form = params[:new].present?
@display_form = params[:new].present? || @deliverables.empty?
respond_to do |format|
format.html { render :action => 'index', :layout => !request.xhr? }