mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
N°3649 - Activity panel: Fix case log entries truncated to first character in edit mode
This commit is contained in:
@@ -96,12 +96,17 @@ $(function() {
|
||||
if (bWasDraftBefore !== bIsDraftNow) {
|
||||
me.is_draft = bIsDraftNow;
|
||||
me._UpdateEditingVisualHint();
|
||||
|
||||
// Update button only once, not at each character chane
|
||||
if (me._IsSubmitAutonomous()) {
|
||||
me._UpdateSubmitButtonState();
|
||||
} else {
|
||||
me._UpdateBridgeInput();
|
||||
}
|
||||
}
|
||||
|
||||
// We need to keep this out of the draft check as we need to update the bridge input at character change, otherwise, only the first character will be sent
|
||||
if (false === me._IsSubmitAutonomous()) {
|
||||
me._UpdateBridgeInput();
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user