fix: 【文件】流程图去掉ctr+s提示框
This commit is contained in:
parent
84116e531b
commit
259351cdd2
4
public/js/drawio/js/diagramly/App.js
vendored
4
public/js/drawio/js/diagramly/App.js
vendored
@ -3769,6 +3769,7 @@ App.prototype.loadFileSystemEntry = function(fileHandle, success, error)
|
|||||||
|
|
||||||
reader.onload = mxUtils.bind(this, function(e)
|
reader.onload = mxUtils.bind(this, function(e)
|
||||||
{
|
{
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (success != null)
|
if (success != null)
|
||||||
@ -3912,7 +3913,6 @@ App.prototype.pickFile = function(mode)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
var peer = this.getPeerForMode(mode);
|
var peer = this.getPeerForMode(mode);
|
||||||
|
|
||||||
if (peer != null)
|
if (peer != null)
|
||||||
{
|
{
|
||||||
peer.pickFile();
|
peer.pickFile();
|
||||||
@ -4548,7 +4548,7 @@ App.prototype.saveFile = function(forceDialog, success)
|
|||||||
this.hideDialog();
|
this.hideDialog();
|
||||||
}), mxResources.get('saveAs'), mxResources.get('download'), null, null, allowTab,
|
}), mxResources.get('saveAs'), mxResources.get('download'), null, null, allowTab,
|
||||||
null, true, rowLimit, null, null, null, this.editor.fileExtensions, false);
|
null, true, rowLimit, null, null, null, this.editor.fileExtensions, false);
|
||||||
this.showDialog(dlg.container, 420, (serviceCount > rowLimit) ? 390 : 280, true, true);
|
// this.showDialog(dlg.container, 420, (serviceCount > rowLimit) ? 390 : 280, true, true);
|
||||||
dlg.init();
|
dlg.init();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3769,6 +3769,7 @@ App.prototype.loadFileSystemEntry = function(fileHandle, success, error)
|
|||||||
|
|
||||||
reader.onload = mxUtils.bind(this, function(e)
|
reader.onload = mxUtils.bind(this, function(e)
|
||||||
{
|
{
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (success != null)
|
if (success != null)
|
||||||
@ -3912,7 +3913,6 @@ App.prototype.pickFile = function(mode)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
var peer = this.getPeerForMode(mode);
|
var peer = this.getPeerForMode(mode);
|
||||||
|
|
||||||
if (peer != null)
|
if (peer != null)
|
||||||
{
|
{
|
||||||
peer.pickFile();
|
peer.pickFile();
|
||||||
@ -4548,7 +4548,7 @@ App.prototype.saveFile = function(forceDialog, success)
|
|||||||
this.hideDialog();
|
this.hideDialog();
|
||||||
}), mxResources.get('saveAs'), mxResources.get('download'), null, null, allowTab,
|
}), mxResources.get('saveAs'), mxResources.get('download'), null, null, allowTab,
|
||||||
null, true, rowLimit, null, null, null, this.editor.fileExtensions, false);
|
null, true, rowLimit, null, null, null, this.editor.fileExtensions, false);
|
||||||
this.showDialog(dlg.container, 420, (serviceCount > rowLimit) ? 390 : 280, true, true);
|
// this.showDialog(dlg.container, 420, (serviceCount > rowLimit) ? 390 : 280, true, true);
|
||||||
dlg.init();
|
dlg.init();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user