Files
HTCloud/HT.Cloud.Web/wwwroot/lib/drawio/diagramly/DesktopLibrary.js

29 lines
501 B
JavaScript
Raw Normal View History

2025-02-19 16:05:53 +08:00
// Copyright (c) 2006-2020, JGraph Ltd
/**
*
*/
DesktopLibrary = function(ui, data, fileObj)
{
LocalLibrary.call(this, ui, data, fileObj.name);
this.fileObj = fileObj;
};
//Extends LocalLibrary
mxUtils.extend(DesktopLibrary, LocalLibrary);
/**
*
*/
DesktopLibrary.prototype.getHash = function()
{
return 'S' + encodeURIComponent(this.fileObj.path);
};
/**
*
*/
DesktopLibrary.prototype.save = function(revision, success, error)
{
LocalFile.prototype.saveFile.apply(this, arguments);
};