Fixed a bunch of tests

This commit is contained in:
Eric Allen 2009-10-09 21:27:27 -04:00
parent d9108abe92
commit e32b23c615
7 changed files with 22 additions and 9 deletions

View file

@ -19,4 +19,9 @@ else
page[dom_id(@project, 'edit')].hide
page.replace_html dom_id(@project, 'container'), :partial => 'project_settings', :locals => { :project => @project }
page[dom_id(@project)].show
page << "$('#todo_context_name').val('#{@project.default_context.name}');" if @project.default_context
page << "$('input[name=default_context_name]').val('#{@project.default_context.name}');" if @project.default_context
page << "defaultContexts = #{default_contexts_for_autocomplete};"
page << "defaultTags = #{default_tags_for_autocomplete};"
end