Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trac "pull requests" entry disappears when editing #128

Open
davidszotten opened this issue Mar 16, 2015 · 3 comments
Open

trac "pull requests" entry disappears when editing #128

davidszotten opened this issue Mar 16, 2015 · 3 comments

Comments

@davidszotten
Copy link

Once i start typing in the "Comment" box and the preview appears, the "Pull Requests:" section of the summary box disappears.

Thought i was going crazy. Is this intentional?

@bmispelon
Copy link
Member

Yeah, I can reproduce this.

I don't think it's intentional. The pull request section is added client-side by a piece of javascript and I suspect that when Trac generates the "draft" view of the ticket, it gets overriden.

@timgraham
Copy link
Member

Not easily fixed I'd guess, and probably not worth it, IMO.

@bmispelon
Copy link
Member

The code that does the "draft" thing seems to be part of the "auto preview" trac plugin and can be found there: https://code.djangoproject.com/chrome/common/js/auto_preview.js

I suspect fixing this is just a matter of hooking into the right event and re-inserting the pull request information.

@timgraham timgraham transferred this issue from django/djangoproject.com Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants