Closed (fixed)
Project:
Simplenews
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Dec 2010 at 16:55 UTC
Updated:
12 Mar 2011 at 13:11 UTC
Jump to comment: Most recent file
Comments
Comment #1
anrikun commentedI have just noticed that this happens when refreshing the node edit page!
Every time you refresh the page, the selected radio button moves down:
if it was "Do not send", it becomes "Send a test"
if it was "Send a test", it becomes "Send",
if it was "Send", it becomes "Do not send" again
Really strange isn't it?
Comment #2
simon georges commentedSure, it's strange, and thank you for pointing out such details. I'll take a look at it tomorrow.
Comment #3
anrikun commentedThis might be some kind of conflict with another module as I cannot reproduce it on a fresh install.
I'll do more research.
Comment #4
anrikun commentedLet's change this "normal" while doing researches.
Comment #5
simon georges commentedI cannot reproduce the bug you're describing (neither in 6.x-1.3, nor in 6.x-1.x-dev). I suppose you have another module enabled with a hook_form_alter() interfering.
Comment #6
anrikun commentedYes you must be right. I'll try to find what module is causing the problem and let you know.
Comment #7
anrikun commentedThe module that is causing the problem seems to be CKEditor!
I need to understand why now.
Comment #8
anrikun commentedIt seems that it is a bug of Firefox:
http://www.ryancramer.com/journal/entries/radio_buttons_firefox
But why does it happen only when using CKEditor?
Comment #9
anrikun commentedHere is a patch for 1.3 and 1.x-dev that seems to fix this issue.
I know that this issue is not a bug of Simplenews but I think this patch should be committed as it won't hurt.
Comment #10
anrikun commentedThe same patch for 2.x-dev.
Both seem the same actually :-D
Comment #11
anrikun commentedComment #12
miro_dietikerPlease add comments why this is needed in the code.
Thx.
Comment #13
anrikun commentedHere you are :-)
This patch will not be needed if #988412: Require confirmation before sending the newsletter is implemented instead.
Comment #14
simon georges commentedThe patch would not be needed either if #781708: Move simplenews node actions into Tab is completed, as I removed the javascript entirely.
Comment #15
anrikun commentedGreat, I will test it, this is a nice feature!
Comment #16
simon georges commented#781708: Move simplenews node actions into Tab has been committed, I'm just wondering if we should close this one or still commit the fix on 6.x-1.x. Miro, what do you think ? (I'm willing to do it if you think it's appropriate. Are you planning a final 6.x-1.x release with the current fixes for those who don't want to upgrade ?)
Comment #17
simon georges commentedChanging the version to make the issue queue cleaner.
Comment #18
simon georges commentedCommitted to 6.x-1.x.