sync(dev): fehlende Admin-Theme-Assets vom Live-Stand ergaenzt (nichts ueberschrieben)

This commit is contained in:
Thomas Bartelt
2026-09-13 19:58:55 +02:00
parent 726f897c3d
commit 37017b25dd
302 changed files with 33189 additions and 0 deletions
+52
View File
@@ -0,0 +1,52 @@
$(document).ready(function() {
var searchbox;
$("#global_live_search").click(function() {
if($(this).val() == 'Suche') {
$(this).val('');
}
});
$("#global_live_search").focusout(function() {
if($(this).val() == '') {
$(this).val('Suche');
}
});
$("#global_live_search").live('keyup', function(e) {
e.preventDefault();
var search = $(this).val();
if (search.length > 2) {
var jqxhr = $.ajax({
'url': 'index.php?admin_modul=admin_search&mod=json&search=' + encodeURIComponent(search)
});
jqxhr.success(function(data){
$('#searchResultBox').empty().remove();
$('#global_live_search').css('z-index','99999');
var height = $('body').css('height');
$('#OverlayPixl').css('height',height);
searchbox = $('<div id="searchResultBox" style="z-index:102;"></div>')
.appendTo('#bodycontainer')
.append(data);
});
jqxhr.error(function(data) {
alert(data);
});
} else {
$('#searchResultBox').empty().remove();
$('#global_live_search').css('z-index','101');
}
});
$('#OverlayPixl').click(function(){
$('#searchResultBox').empty().remove();
$('#global_live_search').css('z-index','101');
$(this).css('height','0px');
});
});