[DE] Fix Bug 42323

This commit is contained in:
Julia Radzhabova 2019-08-09 09:55:44 +03:00
parent 7dafac9d33
commit 730620bf94
2 changed files with 11 additions and 5 deletions

View file

@ -464,7 +464,7 @@ define(['text!documenteditor/main/app/template/WatermarkSettings.template',
data.push({value: item});
});
this.cmbText.setData(data);
this.cmbText.setValue(data[0].value);
(data.length>0) && this.cmbText.setValue(data[0].value);
},
insertFromUrl: function() {

View file

@ -145,6 +145,12 @@
"cwd": "../apps/documenteditor/main/locale/",
"src": "*",
"dest": "../deploy/web-apps/apps/documenteditor/main/locale/"
},
{
"expand": true,
"cwd": "../apps/documenteditor/main/resources/watermark",
"src": "*",
"dest": "../deploy/web-apps/apps/documenteditor/main/resources/watermark"
}
],
"help": [
@ -389,10 +395,10 @@
"copy": {
"localization": [
{
"expand": true,
"cwd": "../apps/documenteditor/embed/locale/",
"src": "*",
"dest": "../deploy/web-apps/apps/documenteditor/embed/locale/"
"expand": true,
"cwd": "../apps/documenteditor/embed/locale/",
"src": "*",
"dest": "../deploy/web-apps/apps/documenteditor/embed/locale/"
}
],
"index-page": {