Commit
This commit is contained in:
14
ReallifeGamemode.Client/assets/js/ticket/script.js
Normal file
14
ReallifeGamemode.Client/assets/js/ticket/script.js
Normal file
@@ -0,0 +1,14 @@
|
||||
var playerName = undefined;
|
||||
var errorShown = false;
|
||||
|
||||
|
||||
$(document).ready(_ => {
|
||||
|
||||
$('#form-ticket').on('submit', e => {
|
||||
|
||||
e.preventDefault();
|
||||
var content = $("#textboxContent").val();
|
||||
mp.trigger('report_submitText', content);
|
||||
});
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user