Skip to content
Snippets Groups Projects
Commit 090bf82c authored by Todd Dembrey's avatar Todd Dembrey
Browse files

Remove the compiled static files in the repo

parent d6b6f047
No related branches found
No related tags found
No related merge requests found
$(document).ready(function () {
var $lastNameInput = $('#id_last_name');
var $firstNameInput = $('#id_first_name');
var $titleInput = $('#id_title');
var $slugInput = $('#id_slug');
$firstNameInput.on('input', function () {joinFirstNameLastName();});
$lastNameInput.on('input', function () {joinFirstNameLastName();});
function joinFirstNameLastName() {
var firstName = $firstNameInput.val();
var lastName = $lastNameInput.val();
var title = firstName + ' ' + lastName;
$slugInput.data('previous-val', $slugInput.val());
$titleInput.data('previous-val', $titleInput.val());
$titleInput.val(title);
$titleInput.blur(); // Trigger slug update
}
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment