mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-17 15:53:28 +00:00
Sdoc draft (#5556)
* [dir view] redesigned the sdoc draft identifier * [dir view] added option 'Mark as draft' to 'New File' dialog; added big button '+ SeaDoc' for empty library * [sdoc draft] fixed API typos * [sdoc file view] displayed draft identifier & added 'unmark as draft' for drafts * [media/sdoc-editor] updated i18n/l10n strings for sdoc-editor * [dir view] 'New' dropdown menu: added '(beta)' for 'New SeaDoc File'
This commit is contained in:
@@ -38,7 +38,7 @@ class Dirent {
|
||||
this.encoded_thumbnail_src = json.encoded_thumbnail_src;
|
||||
}
|
||||
if (Utils.isSdocFile(json.name)) {
|
||||
this.is_sdoc_draft = json.is_sdoc_draft;
|
||||
this.is_sdoc_draft = json.is_sdoc_draft || false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user