fix
This commit is contained in:
@@ -88,4 +88,74 @@
|
||||
return false;
|
||||
}
|
||||
// -->
|
||||
</script>
|
||||
</script>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
|
||||
function showModal(interest_id) {
|
||||
if (typeof event !== 'undefined') {
|
||||
event.preventDefault();
|
||||
}
|
||||
// collect data - either from forms or from data variables
|
||||
var id = $(this).data('id');
|
||||
|
||||
// load the modal content with a loader gif and message
|
||||
$('#modal-content').html('Loading...');
|
||||
|
||||
// show modal window
|
||||
$('#modal_theme_primary').modal('show');
|
||||
|
||||
// do the ajax bit
|
||||
var post_data = {
|
||||
'interest_id': id,
|
||||
};
|
||||
|
||||
$.ajax({
|
||||
url: "/jobs/jobinterest_modal?interest_id="+interest_id
|
||||
}).done(function (data) {
|
||||
//alert(data);
|
||||
$('#modal-content').html(data);
|
||||
});
|
||||
}
|
||||
|
||||
function showJobModal(contact_id) {
|
||||
if (typeof event !== 'undefined') {
|
||||
event.preventDefault();
|
||||
}
|
||||
// collect data - either from forms or from data variables
|
||||
var id = $(this).data('id');
|
||||
|
||||
// load the modal content with a loader gif and message
|
||||
$('#modal-content').html('Loading...');
|
||||
|
||||
// show modal window
|
||||
$('#modal_theme_primary').modal('show');
|
||||
|
||||
// do the ajax bit
|
||||
var post_data = {
|
||||
'interest_id': id,
|
||||
};
|
||||
|
||||
$.ajax({
|
||||
url: "/jobs/jobdetail_modal?contact_id="+contact_id
|
||||
}).done(function (data) {
|
||||
//alert(data);
|
||||
$('#modal-content').html(data);
|
||||
});
|
||||
}
|
||||
|
||||
// -->
|
||||
</script>
|
||||
|
||||
|
||||
<!-- Basic modal -->
|
||||
<div id="modal_theme_primary" class="modal fade">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content" id="modal-content">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /basic modal -->
|
||||
Reference in New Issue
Block a user