[
http://opensource.atlassian.com/projects/roller/browse/ROL-1525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Johnson resolved ROL-1525.
--------------------------------
Resolution: Fixed
Fixed in trunk for Roller 4.0 RC1
URL: http://svn.apache.org/viewvc?view=rev&rev=564654
There may be a more sophisticated fix that allows us to maintain the old button
order, but the easiest fix here is to put the draft button first in the line-up.
I tried to disable the "enter" button entirely via onsubmit="return false" and
postToWeblog() saveAsDraft() and submitForReview() methods, but the Struts2
<s:form> element changes that to "return false; return true", so I backed off
to this more simple approach.
> Drafts erroneously published if user hits enter while in title or tags field.
> -----------------------------------------------------------------------------
>
> Key: ROL-1525
> URL:
> http://opensource.atlassian.com/projects/roller/browse/ROL-1525
> Project: Roller
> Issue Type: Improvement
> Environment: If the users cursor is in the title or tags field on the
> Create & Edit page then hits enter, the entry gets published. Should save as
> draft instead.
> Reporter: linda skrocki
> Assignee: David Johnson
> Fix For: 4.0
>
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/roller/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira