Fixed stupid bug in aspects.fixStoryEditoryParams() causing IE to publish stories closed/hidden/closed all the time
This commit is contained in:
parent
e30fff7cce
commit
5b37a53eab
1 changed files with 3 additions and 1 deletions
|
|
@ -49,7 +49,9 @@ var aspects = {
|
|||
},
|
||||
|
||||
fixStoryEditorParams: function(args, func, story) {
|
||||
if (req.isPost() && (req.postParams.save != 1)) {
|
||||
// FIXME: IE sends the button text instead of the value; thus, we
|
||||
// need to check for the "editableby" property as well :/
|
||||
if (req.isPost() && req.postParams.save != 1 && req.postParams.editableby) {
|
||||
if (req.postParams.publish) {
|
||||
req.postParams.save = 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue