Add a preview of the markdown content in the code editor
This commit is contained in:
@@ -2357,9 +2357,12 @@ define([
|
||||
e.stopPropagation();
|
||||
var path = $(this).data('path');
|
||||
var onCreated = function (err, info) {
|
||||
if (err && err === E_OVER_LIMIT) {
|
||||
if (err === E_OVER_LIMIT) {
|
||||
return void Cryptpad.alert(Messages.pinLimitDrive, null, true);
|
||||
}
|
||||
if (err) {
|
||||
return void console.error("Unable to create the file", err);
|
||||
}
|
||||
module.newFolder = info.newPath;
|
||||
refresh();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user