Conflict with the Draft module

CompShack - April 15, 2009 - 02:02
Project:Hide submit button
Version:6.x-1.7
Component:Code
Category:bug report
Priority:normal
Assigned:Optalgin
Status:closed
Description

the draft module http://drupal.org/project/draft adds another button "Save as Draft" right beside the "save" and "Preview" ones. BUT when you click on it the draft module keeps saying "Processing please wait ... " for ever and ever. the node does get saved as draft but the java script keep showing processing.

I've noticed that the draft module is using some kind of java scripting to show another "Processing" message at the right top of the screen so i'm thinking there is some conflict between the two!

#1

VM - April 15, 2009 - 02:03
Title:Conflect with the Draft module» Conflict with the Draft module

#2

Optalgin - April 20, 2009 - 00:27
Assigned to:Anonymous» Optalgin
Status:active» needs review

You can try the latest 6.x-1.x-dev release
There is a new fieldset called "Advanced"
add the following line into "Attribute fields" textarea

[value!=Save As Draft]

Please let me know if it worked as expected

#3

CompShack - April 20, 2009 - 03:17

Ok i see what that does - you are excluding the "Save As Draft" button from using this module. I did a quick test on my test box and it looks like it is working.

Thanks!

#4

Optalgin - May 10, 2009 - 10:11
Status:needs review» fixed

Release 6.x-1.8 contains configuration options to overcome this conflict
See Advanced fieldset
Add the following to attribute filters text-area to exclude button by text

[value!=Save As Draft]

#5

System Message - May 24, 2009 - 10:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.