Merge branch 'master' into ts_dbo_action
authorMatthias Schmidt <gravatronics@live.com>
Wed, 24 Mar 2021 12:37:19 +0000 (13:37 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Wed, 24 Mar 2021 12:37:19 +0000 (13:37 +0100)
1  2 
wcfsetup/install/files/acp/templates/attachmentList.tpl
wcfsetup/install/files/acp/templates/paidSubscriptionUserList.tpl
wcfsetup/install/files/acp/templates/userTrophyList.tpl

index dfbf480c92356871e8be77682e6a71c6d81b15a2,22d59a445701cfa247cb5dd83dc7d239fc265953..6bccab96f2252cc0a7446673d2055c693968743d
@@@ -3,9 -3,13 +3,9 @@@
  <script data-relocate="true" src="{@$__wcf->getPath()}js/WCF.ImageViewer.js?v={@LAST_UPDATE_TIME}"></script>
  {include file='imageViewer'}
  <script data-relocate="true">
-       $(function() {
-               new WCF.Search.User('#username', null, false, [ ], true);
+       require(['WoltLabSuite/Core/Ui/User/Search/Input'], (UiUserSearchInput) => {
+               new UiUserSearchInput(document.getElementById('username'));
        });
 -      
 -      $(function() {
 -              new WCF.Action.Delete('wcf\\data\\attachment\\AttachmentAction', '.jsAttachmentRow');
 -      });
  </script>
  
  <header class="contentHeader">
index f276d2ada7c971e41ad0d64f8400d14f0e4d05b0,04fefc93e3f1f3bc156cc8712dfe40c16b2bcb73..52b7f6daf9d5ea3476fd5128e5ad3c596c9029d2
@@@ -1,8 -1,12 +1,8 @@@
  {include file='header' pageTitle='wcf.acp.paidSubscription.user.list'}
  
  <script data-relocate="true">
--      $(function() {
-               new WCF.Search.User('#username');
 -              new WCF.Action.Delete('wcf\\data\\paid\\subscription\\user\\PaidSubscriptionUserAction', '.jsPaidSubscriptionUserRow');
 -      });
 -      
+       require(['WoltLabSuite/Core/Ui/User/Search/Input'], (UiUserSearchInput) => {
+               new UiUserSearchInput(document.getElementById('username'));
        });
  </script>
  
index ad8635a2864fbdd8adb651c3fcacc2f6e2f891c4,8dbdea322e49fbef7309fcd5e8b69ac3332c0de7..f5cbafbd2028f5f8c4a8b4e5c719106ed748cc32
@@@ -1,11 -1,13 +1,9 @@@
  {include file='header' pageTitle='wcf.acp.menu.link.userTrophy.list'}
  
  <script data-relocate="true">
-       //<![CDATA[
-       $(function() {
-               new WCF.Search.User('#username');
+       require(['WoltLabSuite/Core/Ui/User/Search/Input'], (UiUserSearchInput) => {
+               new UiUserSearchInput(document.getElementById('username'));
        });
-       //]]>
 -      
 -      $(function() {
 -              new WCF.Action.Delete('wcf\\data\\user\\trophy\\UserTrophyAction', '.userTrophyRow');
 -      });
  </script>
  
  <header class="contentHeader">