mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Use nearest text area instead of a static ID for AI rewording, started adding entity creations in contact details and auto selecting the contact when in contact details page
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
document.getElementById('rewordButton').addEventListener('click', function() {
|
||||
var textInput = document.getElementById('textInput');
|
||||
var textInput = this.closest('form').querySelector('textarea');
|
||||
var ticketDescription = document.getElementById('ticketDescription');
|
||||
var rewordButton = document.getElementById('rewordButton');
|
||||
var undoButton = document.getElementById('undoButton');
|
||||
|
||||
Reference in New Issue
Block a user