- fixed broken images on README.md - updated README.md - updated the PR template - adding option for changing the tab name - added tag headers for grid and list view - added function that resizes template app images to 64x64 on startup - fixed error that was blocking image types from being uploaded
17 lines
509 B
JavaScript
17 lines
509 B
JavaScript
$( document ).ready(function() {
|
|
$(".login-form").on('submit', function(e) {
|
|
e.preventDefault();
|
|
$.ajax({
|
|
url: $(this).attr('data-url'),
|
|
type: 'POST',
|
|
data: $(this).serialize(),
|
|
success: function(data){
|
|
if (data.data.err){
|
|
M.toast({html: data.data.err, classes: 'theme-warning'})
|
|
} else {
|
|
$(location).attr('href', data.data.url)
|
|
}
|
|
}
|
|
});
|
|
});
|
|
}); |