Notification and tree refresh when unpublishing content
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
<key alias="notify">Notifications</key>
|
||||
<key alias="protect">Public access</key>
|
||||
<key alias="publish">Publish</key>
|
||||
<key alias="unpublish">Unpublish</key>
|
||||
<key alias="refreshNode">Reload nodes</key>
|
||||
<key alias="republish">Republish entire site</key>
|
||||
<key alias="rights">Permissions</key>
|
||||
@@ -779,6 +780,7 @@ To manage your website, simply open the umbraco back office and start adding con
|
||||
<key alias="xsltPermissionErrorText">Xslt could not be saved, check file permissions</key>
|
||||
<key alias="xsltSavedHeader">Xslt saved</key>
|
||||
<key alias="xsltSavedText">No errors in xslt</key>
|
||||
<key alias="contentUnpublished">Content unpublished</key>
|
||||
</area>
|
||||
<area alias="stylesheet">
|
||||
<key alias="aliasHelp">Uses CSS syntax ex: h1, .redHeader, .blueTex</key>
|
||||
|
||||
@@ -349,6 +349,9 @@ namespace umbraco.cms.presentation
|
||||
|
||||
library.UnPublishSingleNode(_document.Id);
|
||||
|
||||
Current.ClientTools.SyncTree(_document.Path, true);
|
||||
ClientTools.ShowSpeechBubble(speechBubbleIcon.success, ui.Text("unpublish"), ui.Text("speechBubbles", "contentUnpublished"));
|
||||
|
||||
//newPublishStatus.Text = "0";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user