Commit 778c7357 authored by techird's avatar techird

允许手动保存

parent b529bd56
...@@ -123,7 +123,7 @@ KityMinder.registerUI('menu/save/netdisk', function(minder) { ...@@ -123,7 +123,7 @@ KityMinder.registerUI('menu/save/netdisk', function(minder) {
function saveCurrent() { function saveCurrent() {
var doc = $doc.current(); var doc = $doc.current();
if (doc.source != 'netdisk' || doc.saved ) return Promise.resolve(); if (doc.source != 'netdisk') return Promise.resolve();
var $title = minder.getUI('topbar/title').$title; var $title = minder.getUI('topbar/title').$title;
$filename.val(doc.title); $filename.val(doc.title);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment