Changes for page Administration
Last modified by Leon Poon on 2025/05/12 14:26
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -236,9 +236,7 @@ 236 236 <div class="panel xform"> 237 237 <label for="adminsearchmenu" class="hidden">$services.localization.render('search')</label> 238 238 <input type="text" class="form-control panel-group-filter" autocomplete="off" id="adminsearchmenu" 239 - placeholder="$escapetool.xml($services.localization.render('administration.menu.search.hint'))" 240 - ## Disable the search input initially until the JavaScript code that handles the search is ready. 241 - disabled="disabled" /> 239 + placeholder="$escapetool.xml($services.localization.render('administration.menu.search.hint'))" /> 242 242 </div> 243 243 #foreach ($item in $menu) 244 244 #verticalNavigationItem($item $options) ... ... @@ -290,7 +290,7 @@ 290 290 ## Administration Sheet, used to display a common UI for some wiki features (presentation, users, 291 291 ## groups, rights etc.) at global / space level and also for several applications. 292 292 ##************************************************************************************************** 293 -#if($xcontext.action == 'view' && "$!request.viewer" == '')291 +#if($xcontext.action == 'view') 294 294 $response.sendRedirect($xwiki.getURL($doc.getFullName(), 'admin', $request.getQueryString()))## 295 295 #else 296 296 $xwiki.jsx.use('XWiki.AdminSheet')##
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -3,8 +3,6 @@ 3 3 $(document).on('click', '.admin-menu a.panel-heading', function(event) { 4 4 event.preventDefault(); 5 5 }); 6 - // Mark the administration menu as ready for user interaction. 7 - $('.admin-menu').attr('data-ready', true); 8 8 }); 9 9 10 10 /** ... ... @@ -62,7 +62,5 @@ 62 62 var text = $(this).val().toLowerCase(); 63 63 // Schedule a new filter operation. 64 64 timeoutId = setTimeout($.proxy(filterPanelGroup, panelGroup, text), 500); 65 - 66 - // Finally, enable the search input. 67 - }).prop('disabled', false); 63 + }); 68 68 });