Same orphan code issue showing up on Add a Job ad Add a Expert Pages

We installed this to use actual pages and activated the add-ons without making any other changes to any pages created. This is showing up under avatar area:

THE SOLUTION SET

MEET A FUNCTIONAL NEED

WHAT WE DO

APPLICATIONS

HOW WE DO IT

WHO BENEFITS

WHAT WE ARE

WHY WE EXIST

WHO WE ARE

My ACCESS HUB

Search …
Add a Expert

Browse Jobs Browse Experts Post a Job Add an Expert My Jobs My Profile
Inbox
My wallet

Change Avatar
'); var html = $('#je_avatar_uploader').html(); content.html(html); return content; } }); $('body').on('submit', '.file-uploader-form form', function () { var form = $(this); var parent = form.closest('div'); var args = { data: { parent_id: form.find('input[name="parent_id"]').first().val() }, //processData: false, iframe: true, cache: false, type: 'POST', url: '/add-a-expert/?upload_file_nonce=7a81993262' }; var file = $(":file", form); if (!file.val()) { alert(expert_form.avatar_empty); } else { args.files = file; args.beforeSend = function () { parent.find('.alert').remove(); form.find('button').attr('disabled', 'disabled'); }; args.success = function (data) { form.find(':input, button').removeAttr('disabled'); var tmp = $(data); var url = tmp.text(); $('.expert-avatar .panel-body').html(''); $('.change-avatar').webuiPopover('hide'); form.find('.hn-delete-avatar').removeClass('hide'); } $.ajax(args); } return false; }) $('body').on('change', '.hn_uploader_element', function (e) { var file = e.target.files[0]; var type = file.type.split('/'); var size_allowed = '30000000'; if (type[0] != 'image') { alert(expert_form.avatar_error_file); $(this).val(""); } else if (file.size > size_allowed) { alert(expert_form.avatar_error_size); $(this).val(""); } }); $('body').on('click', '.hn-cancel-avatar', function () { $('.change-avatar').webuiPopover('hide'); }) $('body').on('click', '.hn-delete-avatar', function () { $.ajax({ type: 'POST', data: { parent_id: '56791', action: 'expert_delete_avatar', _nonce: '2ae463caf4' }, success: function (data) { $('.expert-avatar .panel-body').html(data); $(this).addClass('hide'); $('.change-avatar').webuiPopover('hide'); } }) }) })
Tag line
Short version of yourself, maximum 100 characters. This will be use to display at listing page