HEX
Server: Apache/2.4.25 (Debian)
System: Linux server17 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
User: web37 (1062)
PHP: 7.4.30
Disabled: show_source, highlight_file, apache_child_terminate, apache_get_modules, apache_note, apache_setenv, virtual, dl, disk_total_space, posix_getpwnam, posix_getpwuid, posix_mkfifo, posix_mknod, posix_setpgid, posix_setsid, posix_setuid, posix_uname, proc_nice, openlog, syslog, pfsockopen
Upload Files
File: /var/www/web37/htdocs/fickanzeiger/admin/javascript/site/editOnLoad.js
$(document).ready(function(){
         
    $("#itemForm").itemEditor({
        mode: "admin",
        item: setting.item
    });

    $("#editAdsForm").adEditor(setting.adPage);

    new $.AjaxUpload('uploadThumbButton', {
        action: AppRouter.getRewrittedUrl('/admin/site/uploadSiteImage/' + setting.item.siteId),
        name: 'siteImage',
        responseType: 'json',
        onComplete : function(file, response){
            $("#siteThumb").attr('src', response.imageSrc);
            $("#removeImageLink").show();
        }
    });

    $("a.dialog").each(function(){
        $this = $(this);
        $this.click(function(){
            var link = this;
            $.popup.open(link.href, $(link).attr("title"));

            return false;
        });
    });

    var commentEditor = new CommentEditor();
});