fix #878. Added visual feedback that default context and default tags are being updated

This commit is contained in:
Reinier Balt 2009-04-17 18:28:29 +02:00
parent 6d1f034111
commit 66833829a0
3 changed files with 90 additions and 72 deletions

View file

@ -139,6 +139,9 @@ class ProjectsController < ApplicationController
@initial_context_name = @project.default_context.name
render :template => 'projects/update_default_context.js.rjs'
return
elsif boolean_param('update_default_tags')
render :template => 'projects/update_default_tags.js.rjs'
return
elsif boolean_param('update_project_name')
@projects = current_user.projects
render :template => 'projects/update_project_name.js.rjs'