Author: gjm
Date: Tue Aug 28 09:53:54 2012
New Revision: 1378046
URL: http://svn.apache.org/viewvc?rev=1378046&view=rev
Log:
theme: fixes notification bug - #165 (from olemis)
Modified:
incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py
Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py
URL:
http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py?rev=1378046&r1=1378045&r2=1378046&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py Tue Aug 28
09:53:54 2012
@@ -23,6 +23,7 @@ from trac.core import *
from trac.mimeview.api import get_mimetype
from trac.ticket.api import TicketSystem
from trac.ticket.model import Ticket
+from trac.ticket.notification import TicketNotifyEmail
from trac.ticket.web_ui import TicketModule
from trac.util.compat import set
from trac.util.translation import _
@@ -284,7 +285,7 @@ class QuickCreateTicketDialog(Component)
desc = ",, ... via ''Bloodhound'' quick create ticket dialog,,"
attrs = dict([k[6:], v] for k,v in req.args.iteritems() \
if k.startswith('field_'))
- ticket_id = self.create(req, summary, desc, attrs, False)
+ ticket_id = self.create(req, summary, desc, attrs, True)
except Exception, exc:
self.log.exception("BH: Quick create ticket failed %s" % (exc,))
req.send(str(exc), 'plain/text', 500)