mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Enable selection in WI editor
This commit is contained in:
@@ -267,7 +267,7 @@ function displayWorldEntries(name, data) {
|
|||||||
await saveWorldInfo(name, data, true);
|
await saveWorldInfo(name, data, true);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
$("#world_popup_entries_list").disableSelection();
|
//$("#world_popup_entries_list").disableSelection();
|
||||||
}
|
}
|
||||||
|
|
||||||
function setOriginalDataValue(data, uid, key, value) {
|
function setOriginalDataValue(data, uid, key, value) {
|
||||||
@@ -1229,10 +1229,6 @@ jQuery(() => {
|
|||||||
$("#form_world_import").trigger("reset");
|
$("#form_world_import").trigger("reset");
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#world_cross").click(() => {
|
|
||||||
hideWorldEditor();
|
|
||||||
});
|
|
||||||
|
|
||||||
$("#world_create_button").on('click', async () => {
|
$("#world_create_button").on('click', async () => {
|
||||||
const tempName = getFreeWorldName();
|
const tempName = getFreeWorldName();
|
||||||
const finalName = await callPopup("<h3>Create a new World Info?</h3>Enter a name for the new file:", "input", tempName);
|
const finalName = await callPopup("<h3>Create a new World Info?</h3>Enter a name for the new file:", "input", tempName);
|
||||||
|
Reference in New Issue
Block a user