mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-03 17:09:46 +02:00
Merge pull request #9024 from huffman/fix/userdata-showing-old-data
Fix userData in edit.js sometimes showing wrong value when locked
This commit is contained in:
commit
42d13f7e77
1 changed files with 2 additions and 4 deletions
|
@ -445,13 +445,11 @@ function hideUserDataTextArea() {
|
||||||
};
|
};
|
||||||
|
|
||||||
function showStaticUserData() {
|
function showStaticUserData() {
|
||||||
$('#static-userdata').show();
|
|
||||||
$('#static-userdata').css('height', $('#userdata-editor').height())
|
|
||||||
if (editor !== null) {
|
if (editor !== null) {
|
||||||
|
$('#static-userdata').show();
|
||||||
|
$('#static-userdata').css('height', $('#userdata-editor').height())
|
||||||
$('#static-userdata').text(editor.getText());
|
$('#static-userdata').text(editor.getText());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
function removeStaticUserData() {
|
function removeStaticUserData() {
|
||||||
|
|
Loading…
Reference in a new issue