mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-07 12:20:03 +03:00
This commit is contained in:
@@ -12,7 +12,11 @@
|
|||||||
include "common.tis";
|
include "common.tis";
|
||||||
var p = view.parameters;
|
var p = view.parameters;
|
||||||
view.refresh = function() {
|
view.refresh = function() {
|
||||||
|
var draft_input = $(input);
|
||||||
|
var draft = draft_input ? (draft_input.value || "") : "";
|
||||||
$(body).content(<ChatBox msgs={p.msgs} callback={p.callback} />);
|
$(body).content(<ChatBox msgs={p.msgs} callback={p.callback} />);
|
||||||
|
var next_input = $(input);
|
||||||
|
if (next_input) next_input.value = draft;
|
||||||
view.focus = $(input);
|
view.focus = $(input);
|
||||||
}
|
}
|
||||||
function self.closing() {
|
function self.closing() {
|
||||||
|
|||||||
Reference in New Issue
Block a user