From c98d1ca26e9353cefd52f063a6564ad4b0d31070 Mon Sep 17 00:00:00 2001 From: Markus Kahl Date: Fri, 3 Jun 2011 15:11:31 +0200 Subject: [PATCH] add subject name to cache key --- lib/widget/controls/save_as.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/widget/controls/save_as.rb b/lib/widget/controls/save_as.rb index 8b0b6d6969..898fbaffd4 100644 --- a/lib/widget/controls/save_as.rb +++ b/lib/widget/controls/save_as.rb @@ -14,6 +14,10 @@ class Widget::Controls::SaveAs < Widget::Controls maybe_with_help end + def cache_key + super + @subject.name + end + def render_popup_form name = content_tag :p do label_tag(:query_name, l(:field_name)) +