* [bug#60668] fix loading after add chapter.
This commit is contained in:
@@ -1376,7 +1376,7 @@ const commands =
|
||||
return showDocBasicModal(args[0], 0, false, 'chapter').then((formData) => {
|
||||
const doc = {type: 'chapter', status: 'normal', parent: args[0]};
|
||||
return submitNewDoc(doc, spaceID, libID, moduleID, formData).then(() => {
|
||||
docApp.load(null, null, null, {noLoading: true, picks: 'doc'});
|
||||
docApp.load(null, null, null, {noLoading: false, picks: 'doc'});
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user