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
@@ -0,0 +1,81 @@
$(document).ready(function() {
$('form').submit(function(e){
e.preventDefault();
var jqxhr = $.ajax({
url: $(this).attr('action'),
type: 'POST',
data: $(this).serialize()
});
jqxhr.success(function(data) {
window.location.reload();
});
});
$('#delete_header').click(function(e){
e.preventDefault();
var jqxhr = $.ajax({
url: $(this).attr('href')
});
jqxhr.success(function(data) {
window.location.reload();
});
});
$('#delete_footer').click(function(e){
e.preventDefault();
var jqxhr = $.ajax({
url: $(this).attr('href')
});
jqxhr.success(function(data) {
window.location.reload();
});
});
$('#header_upload').uploadify({
'uploader' : '../../../../libs/uploadify/uploadify.swf',
'script' : './index.php?admin_modul=admin_invoice_configuration',
'cancelImg' : '../../../../libs/uploadify/cancel.png',
'folder' : '../../../../libs/uploads',
'scriptData' : {
'mod' : 'ajax',
'action' : 'header_upload'
},
'auto' : true,
'multi' : false,
'onComplete': function(event, ID, fileObj, response, data) {
window.location.reload();
}
});
$('#footer_upload').uploadify({
'uploader' : '../../../../libs/uploadify/uploadify.swf',
'script' : './index.php?admin_modul=admin_invoice_configuration',
'cancelImg' : '../../../../libs/uploadify/cancel.png',
'folder' : '../../../../libs/uploads',
'scriptData' : {
'mod' : 'ajax',
'action' : 'footer_upload'
},
'auto' : true,
'multi' : false,
'onComplete': function(event, ID, fileObj, response, data) {
window.location.reload();
}
});
//$('.pdf_text_field').keypress(function(e) {
// var TABKEY = 9;
// $.dump(e);
//if (e.which == TABKEY) {
// e.preventDefault();
//}
// });
});