sync(dev): fehlende Admin-Theme-Assets vom Live-Stand ergaenzt (nichts ueberschrieben)
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
$(document).ready(function() {
|
||||
|
||||
// Search menu item
|
||||
$('#menu>a#searchMenuItem').click(function(e) {
|
||||
e.preventDefault();
|
||||
|
||||
if ($('#searchContainer').hasClass('searchContainerIsOpen')) {
|
||||
$('#searchContainer').animate({
|
||||
'top': -$('#searchContainer').height() + 'px'
|
||||
}).removeClass('searchContainerIsOpen');
|
||||
} else {
|
||||
$('#searchContainer').animate({
|
||||
'top': $('#headerOverlayFiller').height() + 'px'
|
||||
}).addClass('searchContainerIsOpen');
|
||||
}
|
||||
});
|
||||
|
||||
// Activate item search as default
|
||||
$('#searchScopeSelectors a').click(function(e){
|
||||
e.preventDefault();
|
||||
$('#searchScopeSelectors a').removeClass();
|
||||
$(this).addClass('active');
|
||||
$('.searchScope').removeClass('searchScopeActive');
|
||||
$('#' + ($(this).attr("rel"))).addClass('searchScopeActive');
|
||||
});
|
||||
|
||||
$('.message').live('click', function() {
|
||||
$(this).css({'display': 'none'});
|
||||
});
|
||||
|
||||
$('#new_action').change(function(e) {
|
||||
e.preventDefault();
|
||||
var selected = $(this).val();
|
||||
window.location.href='index.php?admin_modul=' + selected;
|
||||
|
||||
});
|
||||
|
||||
$('#second_language').change(function(e) {
|
||||
e.preventDefault();
|
||||
var selected = '.lang_element_' + $(this).val();
|
||||
|
||||
$('.multilang_element').css('display', 'none');
|
||||
$(selected).css('display', 'inline');
|
||||
});
|
||||
|
||||
$('.header_stat_customer').click(function(e) {
|
||||
e.preventDefault();
|
||||
window.location.href='./index.php?admin_modul=admin_object_list&object=Customer&m_active=0';
|
||||
});
|
||||
$('.header_stat_email').click(function(e) {
|
||||
e.preventDefault();
|
||||
window.location.href='./index.php?admin_modul=admin_object_list&object=Cs_ticket&m_active=4';
|
||||
});
|
||||
$('.header_stat_order').click(function(e) {
|
||||
e.preventDefault();
|
||||
window.location.href='./index.php?admin_modul=admin_object_list&object=Order&m_active=3';
|
||||
});
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user