From: richard Date: Thu, 4 Nov 2010 22:52:56 +0000 (+0000) Subject: Fix incorrect setting of template in customizing.txt example action X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e11411fd69f9cf171b25d17fba3d9423071fef1b;p=roundup.git Fix incorrect setting of template in customizing.txt example action git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4573 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/CHANGES.txt b/CHANGES.txt index 37d9892..b65c841 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -27,6 +27,9 @@ Fixed: from other transactions) see new ConcurrentDBTest for a read-modify-update cycle that fails with the old caching behavior. (Ralf Schlatterbeck) +- Fix incorrect setting of template in customizing.txt example action, + patch via issue2550682 (thanks John Kristensen) + 2010-10-08 1.4.16 (r4541) diff --git a/doc/customizing.txt b/doc/customizing.txt index 13dbb9b..58a8ec3 100644 --- a/doc/customizing.txt +++ b/doc/customizing.txt @@ -4869,10 +4869,10 @@ Setting up a "wizard" (or "druid") for controlled adding of issues ''' category = self.form['category'].value if category == '-1': - self.error_message.append('You must select a category of report') + self.client.error_message.append('You must select a category of report') return # everything's ok, move on to the next page - self.template = 'add_page2' + self.client.template = 'add_page2' def init(instance): instance.registerAction('page1_submit', Page1SubmitAction)