sync(dev): fehlende Admin-Theme-Assets vom Live-Stand ergaenzt (nichts ueberschrieben)
|
After Width: | Height: | Size: 129 B |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 3.4 KiB |
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 731 B |
@@ -0,0 +1,92 @@
|
||||
$(document).ready(function() {
|
||||
$('#adminLeftFloater').rsTabs();
|
||||
|
||||
var id = $('input[name="form_field[id]"]').val();
|
||||
|
||||
$('#header_upload').uploadify({
|
||||
'uploader' : '../../../../libs/uploadify/uploadify.swf',
|
||||
'script' : './index.php?admin_modul=admin_manufacturer_editor',
|
||||
'cancelImg' : '../../../../libs/uploadify/cancel.png',
|
||||
'folder' : '../../../../libs/uploads',
|
||||
'scriptData' : {
|
||||
'action' : 'upload',
|
||||
'id' : id
|
||||
},
|
||||
'fileDesc' : 'Web Image Files',
|
||||
'buttonText': 'Logo',
|
||||
'auto' : true,
|
||||
'multi' : false,
|
||||
'onComplete': function(event, ID, fileObj, response, data) {
|
||||
try {
|
||||
var mydata = $.parseJSON(response);
|
||||
|
||||
if (mydata.status == 'success') {
|
||||
window.location.href = './index.php?admin_modul=admin_manufacturer_editor&id=' + id;
|
||||
} else {
|
||||
$().easywayShopMessageDialog("ERROR: can't save", {}, function(){
|
||||
$().easywayShopMessageDialog(mydata.data, {}, function(){});
|
||||
});
|
||||
}
|
||||
} catch(e) {
|
||||
$().easywayShopMessageDialog("ERROR: can't upload", {}, function(){});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
$('#delete_logo').click(function(e) {
|
||||
e.preventDefault();
|
||||
var url = $(this).attr('href');
|
||||
var jqxhr = $.ajax({
|
||||
'url': url
|
||||
});
|
||||
|
||||
jqxhr.success(function(data) {
|
||||
try {
|
||||
data = $.parseJSON(data);
|
||||
|
||||
if (data.status == 'success') {
|
||||
window.location.reload();
|
||||
} else {
|
||||
$().easywayShopMessageDialog("ERROR: no save'", {}, function(){});
|
||||
}
|
||||
} catch(e) {
|
||||
$().easywayShopMessageDialog("ERROR: wrong answer", {}, function(){});
|
||||
}
|
||||
});
|
||||
|
||||
jqxhr.error(function() {
|
||||
$().easywayShopMessageDialog("ERROR", {}, function(){});
|
||||
});
|
||||
});
|
||||
|
||||
$('form').submit(function(e) {
|
||||
e.preventDefault();
|
||||
|
||||
var url = $(this).attr('action');
|
||||
var data = $(this).serialize();
|
||||
|
||||
var jqxhr = $.ajax({
|
||||
url: url,
|
||||
data: data,
|
||||
type: 'POST'
|
||||
});
|
||||
|
||||
jqxhr.success(function(data) {
|
||||
try {
|
||||
data = $.parseJSON(data);
|
||||
|
||||
if (data.status == 'success') {
|
||||
window.location.href = './index.php?admin_modul=admin_manufacturer_editor&id=' + data.id;
|
||||
} else {
|
||||
$().easywayShopMessageDialog("ERROR: no save'", {}, function(){});
|
||||
}
|
||||
} catch(e) {
|
||||
$().easywayShopMessageDialog("ERROR: wrong answer", {}, function(){});
|
||||
}
|
||||
});
|
||||
|
||||
jqxhr.error(function() {
|
||||
$().easywayShopMessageDialog("ERROR: no answer", {}, function(){});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
After Width: | Height: | Size: 899 B |
|
After Width: | Height: | Size: 612 B |
|
After Width: | Height: | Size: 238 B |
|
After Width: | Height: | Size: 212 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 237 B |
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 5.7 KiB |
|
After Width: | Height: | Size: 5.4 KiB |
|
After Width: | Height: | Size: 6.1 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 4.3 KiB |
|
After Width: | Height: | Size: 4.5 KiB |
|
After Width: | Height: | Size: 435 B |
|
After Width: | Height: | Size: 36 KiB |
|
After Width: | Height: | Size: 513 B |
|
After Width: | Height: | Size: 117 B |
|
After Width: | Height: | Size: 143 B |
|
After Width: | Height: | Size: 131 B |
|
After Width: | Height: | Size: 632 B |
|
After Width: | Height: | Size: 270 B |
|
After Width: | Height: | Size: 4.0 KiB |
|
After Width: | Height: | Size: 792 B |
|
After Width: | Height: | Size: 612 B |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 3.4 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 381 B |
|
After Width: | Height: | Size: 366 B |
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 335 B |
|
After Width: | Height: | Size: 722 B |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 3.4 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 282 B |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 8.8 KiB |
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1003 B |
|
After Width: | Height: | Size: 1018 B |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 635 B |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 258 B |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 609 B |
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 923 B |
|
After Width: | Height: | Size: 632 B |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 1.5 KiB |