From 5092219299eb7bea7eb50a27649e9cb7540ea51d Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sat, 1 Jun 2013 20:42:14 +0200 Subject: [PATCH] Removes ACP search JS from ACP login page --- wcfsetup/install/files/acp/templates/header.tpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/acp/templates/header.tpl b/wcfsetup/install/files/acp/templates/header.tpl index ad3eecf3da..0c5173af38 100644 --- a/wcfsetup/install/files/acp/templates/header.tpl +++ b/wcfsetup/install/files/acp/templates/header.tpl @@ -99,7 +99,9 @@ WCF.System.PageNavigation.init('.pageNavigation'); WCF.Date.Picker.init(); - new WCF.ACP.Search(); + {if $__wcf->user->userID} + new WCF.ACP.Search(); + {/if} {event name='javascriptInit'} }); -- 2.20.1