* Collabora: Fix issue of inserting an image into document pops a rename dialog

This commit is contained in:
Hadi Nategh 2020-02-04 13:27:55 +01:00
parent f46db0484a
commit 491d17bc08

View File

@ -1262,7 +1262,7 @@ var et2_vfsSelect = (function(){ "use strict"; return et2_inputWidget.extend(
default:
if (self.options.method === 'download') submit_value.path = _data.content.download_baseUrl;
files = submit_value.path+'/'+submit_value.name;
if (self.options.method !== 'download' && !savemode)
if (self.options.mode === 'saveas' && !savemode)
{
for(var p in _data.content.dir)
{