diff --git a/Resources/Private/Templates/Joblist/ApplyForm.html b/Resources/Private/Templates/Joblist/ApplyForm.html index adcd614f66ab093a3df3d1301c6f943f8915a44f..a597b1bbdbe7e52540e5001b0749ea423125b7a5 100644 --- a/Resources/Private/Templates/Joblist/ApplyForm.html +++ b/Resources/Private/Templates/Joblist/ApplyForm.html @@ -5,11 +5,7 @@ <f:form.hidden value="{job.uid}" property="jobId" /> <label for="apply-gender"><f:translate key="frontend.apply.gender" /></label> -<<<<<<< HEAD - <f:form.select property="gender" id="apply-gender" data="{}" class="" options="{Male: 'Male', Female: 'Female'}" /> -======= <f:form.select property="gender" id="apply-gender" class="" options="{None: '', Male: 'Male', Female: 'Female'}" /> ->>>>>>> ef0bad6dbd9fd1503cfce001734cb83f277d8404 <f:form.validationResults for="applyData.gender"> <f:for each="{validationResults.errors}" as="error"> <div class="sg-jobs-validation-error"> diff --git a/Resources/Public/JavaScript/sgjobs.js b/Resources/Public/JavaScript/sgjobs.js deleted file mode 100644 index 97d437c43f1b0ae1cd7ca68cdab627e08ad30f6c..0000000000000000000000000000000000000000 --- a/Resources/Public/JavaScript/sgjobs.js +++ /dev/null @@ -1,30 +0,0 @@ -module.exports = function() { - - 'use strict'; - - const $ = require('jquery'); - - let SgJobs = {}; - - SgJobs.init = function() { - $('body').delegate('.sgjobs-select', 'change', function() { - $.post( - '?eID=sgAjax&extensionName=SgJobs&controller=Ajax%5CJoblist&action=filter&format=html', - { - parameters: { - country: $('#filter-countries').val(), - location: $('#filter-locations').val(), - company: $('#filter-companies').val(), - area: $('#filter-areas').val(), - function: $('#filter-functions').val(), - } - } - ).done(function(result) { - // replace filter & job list with result from ajax controller - $('#sgjobs-joblist').html(result); - }); - }); - }; - - return SgJobs; -};