Modify

Opened 5 years ago

Closed 5 years ago

#6734 closed defect (fixed)

*.js files are not included

Reported by: anonymous Owned by: k0s
Priority: high Component: TicketSubmitPolicyPlugin
Severity: critical Keywords:
Cc: Trac Release: 0.11

Description

I try ticketsubmitpolicyplugin but it didn't work.

I aware *.js files are not included in package. After following modification, it works fine.

===================================================================
--- setup.py    (revision 7733)
+++ setup.py    (working copy)
@@ -19,7 +19,7 @@
       keywords='trac plugin',
       license="GPL",
       packages=['ticketsubmitpolicy'],
-      package_data={'ticketsubmitpolicy' : ['templates/*.html']},
+      package_data={'ticketsubmitpolicy' : ['templates/*.html','htdocs/js/*.js'
]},
       zip_safe=False,
       install_requires=['simplejson'],
       entry_points = """

regards,

Takashi Okamoto

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by k0s

  • Resolution set to fixed
  • Status changed from new to closed

(In [7747]) include JS files and depend on Trac; fixes #6734

Add Comment

Modify Ticket

Action
as closed The owner will remain k0s.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.