Last active
November 21, 2018 11:51
-
-
Save srueegger/dd0c4bac2b5a69d53ade5c8fb9587782 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('.editschuler').click(function() { | |
var driver_id = $(this).data('driverid'); | |
var displayname = $(this).data('displayname'); | |
$.ajax({ | |
type: 'post', | |
url: ajax_var.url, | |
data: 'action=fahrapp_show_user_edit_form&driver_id='+driver_id, | |
success: function(response){ | |
var modal = $('#editUserModal'); | |
modal.find('.modal-title').text(displayname + ' bearbeiten'); | |
modal.find('.modal-body').html(response); | |
modal.modal('toggle'); | |
} | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment