mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01: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() {
|
||||
$('#static-userdata').show();
|
||||
$('#static-userdata').css('height', $('#userdata-editor').height())
|
||||
if (editor !== null) {
|
||||
$('#static-userdata').show();
|
||||
$('#static-userdata').css('height', $('#userdata-editor').height())
|
||||
$('#static-userdata').text(editor.getText());
|
||||
}
|
||||
|
||||
|
||||
};
|
||||
|
||||
function removeStaticUserData() {
|
||||
|
|
Loading…
Reference in a new issue