Notification and tree refresh when unpublishing content

This commit is contained in:
Sebastiaan Janssen
2012-12-20 09:25:50 -01:00
parent 47d1fe7082
commit c5e7c81c19
2 changed files with 5 additions and 0 deletions

View File

@@ -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>

View File

@@ -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";
}