From 543e3e73e8c99ad643adca3522146ae36a7a24a8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= Date: Tue, 4 Mar 2014 17:56:00 +0100 Subject: [PATCH 1/1] Remise en fonction du presse papier. --- skins/control/emptyClipboard.py | 6 +++++- skins/generic/folder_contents_macros.pt | 2 ++ skins/generic/widgets.pt | 4 ++-- utils.py | 6 +++++- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/skins/control/emptyClipboard.py b/skins/control/emptyClipboard.py index 0d306d8..efa7cc9 100644 --- a/skins/control/emptyClipboard.py +++ b/skins/control/emptyClipboard.py @@ -21,4 +21,8 @@ if not ajax: '?' + make_query(portal_status_message=message) response.redirect(redirUrl) else : - return "..." \ No newline at end of file + options={} + options['template'] = 'widgets' + options['macro'] = 'clipboard' + options['fragmentId'] = 'clipboard' + return context.use_macro(**options) \ No newline at end of file diff --git a/skins/generic/folder_contents_macros.pt b/skins/generic/folder_contents_macros.pt index 19be9c1..4a6bc04 100644 --- a/skins/generic/folder_contents_macros.pt +++ b/skins/generic/folder_contents_macros.pt @@ -70,6 +70,7 @@ batch navigation