pull/3094/head
LianaHus 5 years ago
parent 65d0fb9ab2
commit 38726ef706
  1. 2
      src/app/files/fileManager.js
  2. 5
      src/app/ui/tooltip.js

@ -200,7 +200,7 @@ class FileManager extends FileSystemApi {
}) })
} }
_saveAsCopy(path, content) { _saveAsCopy (path, content) {
const fileProvider = this.fileProviderOf(path) const fileProvider = this.fileProviderOf(path)
if (fileProvider) { if (fileProvider) {
helper.createNonClashingNameWithPrefix(path, fileProvider, '', (error, copyName) => { helper.createNonClashingNameWithPrefix(path, fileProvider, '', (error, copyName) => {

@ -55,10 +55,11 @@ class Toaster {
const shortTooltipText = (canShorten && tooltipText.length > 201) ? tooltipText.substring(0, 200) + '...' : tooltipText const shortTooltipText = (canShorten && tooltipText.length > 201) ? tooltipText.substring(0, 200) + '...' : tooltipText
this.resolveFn = resolve this.resolveFn = resolve
function showFullMessage() { function showFullMessage () {
modal.alert(tooltipText) modal.alert(tooltipText)
} }
function closeTheToaster(self) {
function closeTheToaster (self) {
self.hide() self.hide()
over() over()
resolve() resolve()

Loading…
Cancel
Save