Fix U4-84 - Error message when publish is cancelled by event:
http://issues.umbraco.org/issue/U4-84
This commit is contained in:
@@ -111,7 +111,7 @@ namespace umbraco.dialogs
|
||||
feedbackMsg.Text = ui.Text("publish", "nodePublish", d.Text, base.getUser()) + "</p><p><a href='#' onclick='" + ClientTools.Scripts.CloseModalWindow() + "'>" + ui.Text("closeThisWindow") + "</a>";
|
||||
}
|
||||
else {
|
||||
feedbackMsg.type = umbraco.uicontrols.Feedback.feedbacktype.error;
|
||||
feedbackMsg.type = umbraco.uicontrols.Feedback.feedbacktype.notice;
|
||||
feedbackMsg.Text = ui.Text("publish", "contentPublishedFailedByEvent", d.Text, base.getUser()) + "</p><p><a href='#' onClick='" + ClientTools.Scripts.CloseModalWindow() + "'>" + ui.Text("closeThisWindow") + "</a>";
|
||||
}
|
||||
ClientTools.ReloadActionNode(true, false);
|
||||
|
||||
@@ -322,11 +322,11 @@ namespace umbraco.cms.presentation
|
||||
}
|
||||
else
|
||||
{
|
||||
ClientTools.ShowSpeechBubble(speechBubbleIcon.error, ui.Text("error"), ui.Text("contentPublishedFailedByEvent"));
|
||||
ClientTools.ShowSpeechBubble(speechBubbleIcon.warning, ui.Text("publish"), ui.Text("contentPublishedFailedByEvent"));
|
||||
}
|
||||
}
|
||||
else
|
||||
ClientTools.ShowSpeechBubble(speechBubbleIcon.error, ui.Text("error"), ui.Text("speechBubbles", "editContentPublishedFailedByParent"));
|
||||
ClientTools.ShowSpeechBubble(speechBubbleIcon.warning, ui.Text("publish"), ui.Text("speechBubbles", "editContentPublishedFailedByParent"));
|
||||
|
||||
// page cache disabled...
|
||||
// cms.businesslogic.cache.Cache.ClearCacheObjectTypes("umbraco.page");
|
||||
|
||||
Reference in New Issue
Block a user