Posted by graker on November 15, 2009 at 7:10pm
| Project: | |
| Version: | 6.x-3.x-dev |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
Hello.
Thank you for great work, I enjoy using twitter module for automated tweets at node creation.
Anyway I have a little problem with status field of twitter form. When I create new node, twitter status for this node has default value. I can change this value to something more appropriate for this specific node, but if I click 'Preview' button after that, my status will be replaced by default one. I find this behaviour very annoying :) This small patch will fix it.
| Attachment | Size |
|---|---|
| twitter.node_preview.graker.patch | 741 bytes |
Comments
#1
#2
Oops, sorry, I confused source and destination files. Here's correct patch file.
#3
The patch does fix the problem on my system
#4
Still an issue, though the code have moved and changed quite a lot. I have almost no knowledge of the Drupal form API, but I hacked a small patch. Not sure what is best practice to keep those form values during preview, so this might be not where to fix it :)
#5
There is an duplicate of this issue at #524370: "Announce This Post On Twitter" check box does not respect Preview that I closed, but contain some patches and ideas on best practice.