|Version 3 (modified by k0s, 7 years ago) (diff)|
control ticket submission policy based on field information
If you have any issues, create a new ticket.
Download the zipped source from here.
The following section in trac.ini excludes the version field excludes the version field if the type is not a defect and requires a version that is not blank if the type is a defect:
[ticket-submit-policy] policy1.condition = type != defect policy1.excludes = version policy2.condition = type == defect policy2.requires = version
-  by rjollos on 2013-03-13 00:00:58
Code formatting changes.
-  by rjollos on 2013-03-12 23:51:39
Refs #10898: onsubmit event was not firing. This appeared to be due to the callback function having the same name as the event.
The dialog now appears, but does not block form submission.
-  by rjollos on 2013-03-12 23:11:56
Modified entry point and limited imports.
Originally developed at The Open Planning Project