[IMP] website: remove the toaster saying the page is published
task-2574300 PR-73234
This commit is contained in:
committed by
Jeremy Kersten
parent
e171fe2dbb
commit
5149afbf92
@@ -309,14 +309,6 @@ export const WebsiteRoot = publicRootData.PublicRoot.extend(KeyboardNavigationMi
|
||||
$data.toggleClass("css_unpublished css_published");
|
||||
$data.find('input').prop("checked", result);
|
||||
$data.parents("[data-publish]").attr("data-publish", +result ? 'on' : 'off');
|
||||
if (result) {
|
||||
self.displayNotification({
|
||||
type: 'success',
|
||||
message: $data.data('description') ?
|
||||
_.str.sprintf(_t("You've published your %s."), $data.data('description')) :
|
||||
_t("Published with success."),
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user