mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-15 20:13:02 +01:00
Moved reply topic unlock
This commit is contained in:
@@ -151,9 +151,6 @@ define(['taskbar'], function(taskbar) {
|
||||
pid: pid, // Editing
|
||||
body: text // Predefined text
|
||||
});
|
||||
// Regardless of success or failure, this should be set back to false so new topics can have their title set
|
||||
var titleEl = composer.postContainer.querySelector('input');
|
||||
titleEl.readOnly = false;
|
||||
}
|
||||
|
||||
composer.load = function(post_uuid) {
|
||||
@@ -173,6 +170,7 @@ define(['taskbar'], function(taskbar) {
|
||||
socket.emit('api:composer.editCheck', post_data.pid);
|
||||
} else {
|
||||
titleEl.value = post_data.title;
|
||||
titleEl.readOnly = false;
|
||||
}
|
||||
bodyEl.value = post_data.body
|
||||
|
||||
|
||||
Reference in New Issue
Block a user