Currently we are using the TracTicketChainedFieldsPlugin to use different
SubComponents based on what selection is made as parent Component.

When modifying the ticket after it's created the default subcomponent is
selected instead of the one that is selected when the ticket is created.

We've edited the Javascript file (ticket.js) and we're trying to patch it
using diff and patch.

cd /data/trac/eggs/TracTicketChainedFields-0.1-py2.7.egg-tmp/tcf/htdocs/ 
diff -crB
/data/trac/eggs/TracTicketChainedFields-0.1-py2.7.egg-tmp/tcf/htdocs/
/home/root/tcf_ticket/tcf_ticket.new.patch 
patch -p2 -i /home/root/tcf_ticket/tcf_ticket.new.patch 

But everytime the Javascript is overwritten by the default one...

http://trac-hacks.org/wiki/TracTicketChainedFieldsPlugin


-- 
View this message in context: 
http://old.nabble.com/Patching-Javascript-tp33071615p33071615.html
Sent from the Trac Users mailing list archive at Nabble.com.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to