From b71f108d3b819b33ca8229580ca08590b1b644db Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 31 Jan 2024 14:06:40 +0300 Subject: [PATCH 1/5] For bug 59194 --- .../main/app/view/HyperlinkSettingsDialog.js | 31 +++++++++++++++++-- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js b/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js index 3673a41a1c..bd29576f73 100644 --- a/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js +++ b/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js @@ -135,12 +135,15 @@ define([ }); me.btnInternal.on('click', _.bind(me.onLinkTypeClick, me, Asc.c_oAscHyperlinkType.RangeLink)); - me.inputUrl = new Common.UI.InputField({ + var config = { el : $('#id-dlg-hyperlink-url'), allowBlank : false, blankError : me.txtEmpty, validateOnBlur: false, style : 'width: 100%;', + iconCls: 'toolbar__icon btn-goback', + placeHolder: me.appOptions.isDesktopApp ? me.txtUrlPlaceholder : '', + btnHint: me.textSelectFile, validation : function(value) { var trimmed = $.trim(value); if (me.api.asc_getFullHyperlinkLength(trimmed)>2083) return me.txtSizeLimit; @@ -148,7 +151,8 @@ define([ me.urlType = me.api.asc_getUrlType(trimmed); return (me.urlType!==AscCommon.c_oAscUrlType.Invalid) ? true : me.txtNotUrl; } - }); + }; + me.inputUrl = me.appOptions.isDesktopApp ? new Common.UI.InputFieldBtn(config) : new Common.UI.InputField(config); me.inputUrl._input.on('input', function (e) { me.isInputFirstChange_url && me.inputUrl.showError(); me.isInputFirstChange_url = false; @@ -156,6 +160,7 @@ define([ me.isAutoUpdate && me.inputDisplay.setValue(val); me.btnOk.setDisabled($.trim(val)==''); }); + me.appOptions.isDesktopApp && me.inputUrl.on('button:click', _.bind(me.onSelectFile, me)); me.inputRange = new Common.UI.InputFieldBtn({ el : $('#id-dlg-hyperlink-range'), @@ -570,6 +575,24 @@ define([ } }, + onSelectFile: function() { + var me = this; + if (me.api) { + var callback = function(result) { + if (result) { + me.inputUrl.setValue(result); + me.inputUrl.checkValidate(); + me.isInputFirstChange_url && me.inputUrl.showError(); + me.isInputFirstChange_url = false; + me.isAutoUpdate && me.inputDisplay.setValue(result); + me.btnOk.setDisabled($.trim(result)==''); + } + }; + + me.api.asc_addImage(callback); // change sdk function + } + }, + textTitle: 'Hyperlink Settings', textInternalLink: 'Place in Document', textExternalLink: 'Web Link', @@ -590,6 +613,8 @@ define([ textGetLink: 'Get Link', textCopy: 'Copy', textSelectData: 'Select data', - txtSizeLimit: 'This field is limited to 2083 characters' + txtSizeLimit: 'This field is limited to 2083 characters', + txtUrlPlaceholder: 'Enter the web address or select a file', + textSelectFile: 'Select file' }, SSE.Views.HyperlinkSettingsDialog || {})) }); \ No newline at end of file From 152c0671b4f0e056cbb070a33a4c804474a3d468 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 31 Jan 2024 17:32:18 +0300 Subject: [PATCH 2/5] Change sdk method --- apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js b/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js index bd29576f73..945623fc31 100644 --- a/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js +++ b/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js @@ -589,7 +589,7 @@ define([ } }; - me.api.asc_addImage(callback); // change sdk function + me.api.asc_getFilePath(callback); // change sdk function } }, From 118c9ce817718b6ca8da34744c2c100b5e233170 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 31 Jan 2024 19:42:27 +0300 Subject: [PATCH 3/5] [DE][PE] Bug 59194: add link to the file (for desktop only) --- .../main/app/controller/DocumentHolder.js | 4 +++ .../main/app/controller/Links.js | 2 ++ .../main/app/view/HyperlinkSettingsDialog.js | 34 +++++++++++++++++-- apps/documenteditor/main/locale/en.json | 2 ++ .../main/app/controller/DocumentHolder.js | 4 +++ .../main/app/controller/Toolbar.js | 1 + .../main/app/view/HyperlinkSettingsDialog.js | 34 +++++++++++++++++-- apps/presentationeditor/main/locale/en.json | 2 ++ .../main/app/view/HyperlinkSettingsDialog.js | 5 ++- apps/spreadsheeteditor/main/locale/en.json | 2 ++ 10 files changed, 81 insertions(+), 9 deletions(-) diff --git a/apps/documenteditor/main/app/controller/DocumentHolder.js b/apps/documenteditor/main/app/controller/DocumentHolder.js index 986a2ccc36..4265bfbd7b 100644 --- a/apps/documenteditor/main/app/controller/DocumentHolder.js +++ b/apps/documenteditor/main/app/controller/DocumentHolder.js @@ -899,6 +899,7 @@ define([ if (text !== false) { win = new DE.Views.HyperlinkSettingsDialog({ api: me.api, + appOptions: me.mode, handler: handlerDlg }); @@ -918,6 +919,7 @@ define([ if (props) { win = new DE.Views.HyperlinkSettingsDialog({ api: me.api, + appOptions: me.mode, handler: handlerDlg }); win.show(); @@ -1759,6 +1761,7 @@ define([ if (me.api){ win = new DE.Views.HyperlinkSettingsDialog({ api: me.api, + appOptions: me.mode, handler: function(dlg, result) { if (result == 'ok') { me.api.add_Hyperlink(dlg.getSettings()); @@ -1779,6 +1782,7 @@ define([ if (me.api){ win = new DE.Views.HyperlinkSettingsDialog({ api: me.api, + appOptions: me.mode, handler: function(dlg, result) { if (result == 'ok') { me.api.change_Hyperlink(win.getSettings()); diff --git a/apps/documenteditor/main/app/controller/Links.js b/apps/documenteditor/main/app/controller/Links.js index 581aec446e..8c59b1e010 100644 --- a/apps/documenteditor/main/app/controller/Links.js +++ b/apps/documenteditor/main/app/controller/Links.js @@ -233,6 +233,7 @@ define([ if (text !== false) { win = new DE.Views.HyperlinkSettingsDialog({ api: me.api, + appOptions: me.toolbar.appOptions, handler: handlerDlg }); @@ -252,6 +253,7 @@ define([ if (props) { win = new DE.Views.HyperlinkSettingsDialog({ api: me.api, + appOptions: me.toolbar.appOptions, handler: handlerDlg }); win.show(); diff --git a/apps/documenteditor/main/app/view/HyperlinkSettingsDialog.js b/apps/documenteditor/main/app/view/HyperlinkSettingsDialog.js index 4f607043f5..c6ff317fd7 100644 --- a/apps/documenteditor/main/app/view/HyperlinkSettingsDialog.js +++ b/apps/documenteditor/main/app/view/HyperlinkSettingsDialog.js @@ -99,6 +99,7 @@ define([ this.api = this.options.api; this._originalProps = null; this.urlType = AscCommon.c_oAscUrlType.Invalid; + this.appOptions = this.options.appOptions; Common.UI.Window.prototype.initialize.call(this, this.options); }, @@ -126,12 +127,15 @@ define([ }); me.btnInternal.on('click', _.bind(me.onLinkTypeClick, me, c_oHyperlinkType.InternalLink)); - me.inputUrl = new Common.UI.InputField({ + var config = { el : $('#id-dlg-hyperlink-url'), allowBlank : false, blankError : me.txtEmpty, style : 'width: 100%;', validateOnBlur: false, + iconCls: 'toolbar__icon btn-goback', + placeHolder: me.appOptions.isDesktopApp ? me.txtUrlPlaceholder : '', + btnHint: me.textSelectFile, validation : function(value) { var trimmed = $.trim(value); if (trimmed.length>2083) return me.txtSizeLimit; @@ -139,7 +143,8 @@ define([ me.urlType = me.api.asc_getUrlType(trimmed); return (me.urlType!==AscCommon.c_oAscUrlType.Invalid) ? true : me.txtNotUrl; } - }); + }; + me.inputUrl = me.appOptions.isDesktopApp ? new Common.UI.InputFieldBtn(config) : new Common.UI.InputField(config); me.inputUrl._input.on('input', function (e) { me.isInputFirstChange && me.inputUrl.showError(); me.isInputFirstChange = false; @@ -150,6 +155,7 @@ define([ } me.btnOk.setDisabled($.trim(val)==''); }); + me.appOptions.isDesktopApp && me.inputUrl.on('button:click', _.bind(me.onSelectFile, me)); me.inputDisplay = new Common.UI.InputField({ el : $('#id-dlg-hyperlink-display'), @@ -447,6 +453,26 @@ define([ this.close(); }, + onSelectFile: function() { + var me = this; + if (me.api) { + var callback = function(result) { + if (result) { + me.inputUrl.setValue(result); + if (me.inputUrl.checkValidate() !== true) + me.isInputFirstChange = true; + if (me.isAutoUpdate) { + me.inputDisplay.setValue(result); + me.isTextChanged = true; + } + me.btnOk.setDisabled($.trim(result)==''); + } + }; + + me.api.asc_getFilePath(callback); // change sdk function + } + }, + textUrl: 'Link to', textDisplay: 'Display', txtEmpty: 'This field is required', @@ -459,6 +485,8 @@ define([ txtBeginning: 'Beginning of document', txtHeadings: 'Headings', txtBookmarks: 'Bookmarks', - txtSizeLimit: 'This field is limited to 2083 characters' + txtSizeLimit: 'This field is limited to 2083 characters', + txtUrlPlaceholder: 'Enter the web address or select a file', + textSelectFile: 'Select file' }, DE.Views.HyperlinkSettingsDialog || {})) }); \ No newline at end of file diff --git a/apps/documenteditor/main/locale/en.json b/apps/documenteditor/main/locale/en.json index f6c6802850..df31cecfab 100644 --- a/apps/documenteditor/main/locale/en.json +++ b/apps/documenteditor/main/locale/en.json @@ -2331,6 +2331,8 @@ "DE.Views.HyperlinkSettingsDialog.txtHeadings": "Headings", "DE.Views.HyperlinkSettingsDialog.txtNotUrl": "This field should be a URL in the \"http://www.example.com\" format", "DE.Views.HyperlinkSettingsDialog.txtSizeLimit": "This field is limited to 2083 characters", + "DE.Views.HyperlinkSettingsDialog.txtUrlPlaceholder": "Enter the web address or select a file", + "DE.Views.HyperlinkSettingsDialog.textSelectFile": "Select file", "DE.Views.HyphenationDialog.textAuto": "Automatically hyphenate document", "DE.Views.HyphenationDialog.textCaps": "Hyphenate words in CAPS", "DE.Views.HyphenationDialog.textLimit": "Limit consecutive hyphens to", diff --git a/apps/presentationeditor/main/app/controller/DocumentHolder.js b/apps/presentationeditor/main/app/controller/DocumentHolder.js index 9b0e8b0256..c2619e7eb1 100644 --- a/apps/presentationeditor/main/app/controller/DocumentHolder.js +++ b/apps/presentationeditor/main/app/controller/DocumentHolder.js @@ -1139,6 +1139,7 @@ define([ if (text !== false) { win = new PE.Views.HyperlinkSettingsDialog({ api: me.api, + appOptions: me.mode, handler: handlerDlg, slides: _arr }); @@ -1159,6 +1160,7 @@ define([ if (props) { win = new PE.Views.HyperlinkSettingsDialog({ api: me.api, + appOptions: me.mode, handler: handlerDlg, slides: _arr }); @@ -1494,6 +1496,7 @@ define([ } win = new PE.Views.HyperlinkSettingsDialog({ api: me.api, + appOptions: me.mode, handler: function(dlg, result) { if (result == 'ok') { me.api.add_Hyperlink(dlg.getSettings()); @@ -1522,6 +1525,7 @@ define([ } win = new PE.Views.HyperlinkSettingsDialog({ api: me.api, + appOptions: me.mode, handler: function(dlg, result) { if (result == 'ok') { me.api.change_Hyperlink(win.getSettings()); diff --git a/apps/presentationeditor/main/app/controller/Toolbar.js b/apps/presentationeditor/main/app/controller/Toolbar.js index 50525d371a..bdb371469d 100644 --- a/apps/presentationeditor/main/app/controller/Toolbar.js +++ b/apps/presentationeditor/main/app/controller/Toolbar.js @@ -1733,6 +1733,7 @@ define([ if (props) { win = new PE.Views.HyperlinkSettingsDialog({ api: me.api, + appOptions: me.appOptions, handler: handlerDlg, slides: _arr }); diff --git a/apps/presentationeditor/main/app/view/HyperlinkSettingsDialog.js b/apps/presentationeditor/main/app/view/HyperlinkSettingsDialog.js index 80d47736c3..17b9b9de2d 100644 --- a/apps/presentationeditor/main/app/view/HyperlinkSettingsDialog.js +++ b/apps/presentationeditor/main/app/view/HyperlinkSettingsDialog.js @@ -100,6 +100,7 @@ define([ this.slides = this.options.slides; this.api = this.options.api; this.urlType = AscCommon.c_oAscUrlType.Invalid; + this.appOptions = this.options.appOptions; Common.UI.Window.prototype.initialize.call(this, this.options); }, @@ -127,12 +128,15 @@ define([ }); me.btnInternal.on('click', _.bind(me.onLinkTypeClick, me, c_oHyperlinkType.InternalLink)); - me.inputUrl = new Common.UI.InputField({ + var config = { el : $('#id-dlg-hyperlink-url'), allowBlank : false, blankError : me.txtEmpty, validateOnBlur: false, style : 'width: 100%;', + iconCls: 'toolbar__icon btn-goback', + placeHolder: me.appOptions.isDesktopApp ? me.txtUrlPlaceholder : '', + btnHint: me.textSelectFile, validation : function(value) { var trimmed = $.trim(value); if (trimmed.length>2083) return me.txtSizeLimit; @@ -140,7 +144,8 @@ define([ me.urlType = me.api.asc_getUrlType(trimmed); return (me.urlType!==AscCommon.c_oAscUrlType.Invalid) ? true : me.txtNotUrl; } - }); + }; + me.inputUrl = me.appOptions.isDesktopApp ? new Common.UI.InputFieldBtn(config) : new Common.UI.InputField(config); me.inputUrl._input.on('input', function (e) { me.isInputFirstChange && me.inputUrl.showError(); me.isInputFirstChange = false; @@ -151,6 +156,7 @@ define([ } me.btnOk.setDisabled($.trim(val)==''); }); + me.appOptions.isDesktopApp && me.inputUrl.on('button:click', _.bind(me.onSelectFile, me)); me.inputDisplay = new Common.UI.InputField({ el : $('#id-dlg-hyperlink-display'), @@ -423,6 +429,26 @@ define([ } }, + onSelectFile: function() { + var me = this; + if (me.api) { + var callback = function(result) { + if (result) { + me.inputUrl.setValue(result); + if (me.inputUrl.checkValidate() !== true) + me.isInputFirstChange = true; + if (me.isAutoUpdate) { + me.inputDisplay.setValue(result); + me.isTextChanged = true; + } + me.btnOk.setDisabled($.trim(result)==''); + } + }; + + me.api.asc_getFilePath(callback); // change sdk function + } + }, + textTitle: 'Hyperlink Settings', textInternalLink: 'Place in Document', textExternalLink: 'External Link', @@ -441,6 +467,8 @@ define([ txtLast: 'Last Slide', textDefault: 'Selected text', textSlides: 'Slides', - txtSizeLimit: 'This field is limited to 2083 characters' + txtSizeLimit: 'This field is limited to 2083 characters', + txtUrlPlaceholder: 'Enter the web address or select a file', + textSelectFile: 'Select file' }, PE.Views.HyperlinkSettingsDialog || {})) }); \ No newline at end of file diff --git a/apps/presentationeditor/main/locale/en.json b/apps/presentationeditor/main/locale/en.json index 0a67e1e2df..7fc6d54e7f 100644 --- a/apps/presentationeditor/main/locale/en.json +++ b/apps/presentationeditor/main/locale/en.json @@ -2061,6 +2061,8 @@ "PE.Views.HyperlinkSettingsDialog.txtPrev": "Previous slide", "PE.Views.HyperlinkSettingsDialog.txtSizeLimit": "This field is limited to 2083 characters", "PE.Views.HyperlinkSettingsDialog.txtSlide": "Slide", + "PE.Views.HyperlinkSettingsDialog.txtUrlPlaceholder": "Enter the web address or select a file", + "PE.Views.HyperlinkSettingsDialog.textSelectFile": "Select file", "PE.Views.ImageSettings.textAdvanced": "Show advanced settings", "PE.Views.ImageSettings.textCrop": "Crop", "PE.Views.ImageSettings.textCropFill": "Fill", diff --git a/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js b/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js index 945623fc31..66e13f0e73 100644 --- a/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js +++ b/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js @@ -581,9 +581,8 @@ define([ var callback = function(result) { if (result) { me.inputUrl.setValue(result); - me.inputUrl.checkValidate(); - me.isInputFirstChange_url && me.inputUrl.showError(); - me.isInputFirstChange_url = false; + if (me.inputUrl.checkValidate() !== true) + me.isInputFirstChange_url = true; me.isAutoUpdate && me.inputDisplay.setValue(result); me.btnOk.setDisabled($.trim(result)==''); } diff --git a/apps/spreadsheeteditor/main/locale/en.json b/apps/spreadsheeteditor/main/locale/en.json index e21f1985de..bc0983c399 100644 --- a/apps/spreadsheeteditor/main/locale/en.json +++ b/apps/spreadsheeteditor/main/locale/en.json @@ -3001,6 +3001,8 @@ "SSE.Views.HyperlinkSettingsDialog.txtEmpty": "This field is required", "SSE.Views.HyperlinkSettingsDialog.txtNotUrl": "This field should be a URL in the \"http://www.example.com\" format", "SSE.Views.HyperlinkSettingsDialog.txtSizeLimit": "This field is limited to 2083 characters", + "SSE.Views.HyperlinkSettingsDialog.txtUrlPlaceholder": "Enter the web address or select a file", + "SSE.Views.HyperlinkSettingsDialog.textSelectFile": "Select file", "SSE.Views.ImageSettings.textAdvanced": "Show advanced settings", "SSE.Views.ImageSettings.textCrop": "Crop", "SSE.Views.ImageSettings.textCropFill": "Fill", From eabc6807c4394ff2b8e0bcf0c826ac013a6f4ee6 Mon Sep 17 00:00:00 2001 From: Denis Dokin Date: Fri, 2 Feb 2024 19:01:49 +0500 Subject: [PATCH 4/5] icons upload fix bug 59194 --- .../resources/img/toolbar/1.25x/btn-browse.png | Bin 0 -> 245 bytes .../resources/img/toolbar/1.5x/btn-browse.png | Bin 0 -> 267 bytes .../resources/img/toolbar/1.75x/btn-browse.png | Bin 0 -> 303 bytes .../main/resources/img/toolbar/1x/btn-browse.png | Bin 0 -> 206 bytes .../resources/img/toolbar/2.5x/btn-browse.svg | 3 +++ .../main/resources/img/toolbar/2x/btn-browse.png | Bin 0 -> 353 bytes 6 files changed, 3 insertions(+) create mode 100644 apps/common/main/resources/img/toolbar/1.25x/btn-browse.png create mode 100644 apps/common/main/resources/img/toolbar/1.5x/btn-browse.png create mode 100644 apps/common/main/resources/img/toolbar/1.75x/btn-browse.png create mode 100644 apps/common/main/resources/img/toolbar/1x/btn-browse.png create mode 100644 apps/common/main/resources/img/toolbar/2.5x/btn-browse.svg create mode 100644 apps/common/main/resources/img/toolbar/2x/btn-browse.png diff --git a/apps/common/main/resources/img/toolbar/1.25x/btn-browse.png b/apps/common/main/resources/img/toolbar/1.25x/btn-browse.png new file mode 100644 index 0000000000000000000000000000000000000000..e4bed30dc0216b5b7326a602ca8f18b47b8bb578 GIT binary patch literal 245 zcmVX1ONa4*IQOuz^@BQODBgKPjyVsF3*rixCndx0&u!(t%Dk%yir1;u00000NkvXXu0mjfY>Qu+ literal 0 HcmV?d00001 diff --git a/apps/common/main/resources/img/toolbar/1.5x/btn-browse.png b/apps/common/main/resources/img/toolbar/1.5x/btn-browse.png new file mode 100644 index 0000000000000000000000000000000000000000..1b174770a3b86d9a2fc5bf523fce300c7432a471 GIT binary patch literal 267 zcmV+m0rdWfP)A)(vG-PtinrKru+6%fjCVCqGa|a$z_1zh%dHScYa71M@M@1ZTI+EAb|Q{8@I^m3 zd?t<_L?Ua%)dr*>Co|oW1>$N0QnAHmL4&y337sjWIWCwZt~SsqX=t%1Y4y_EYPjNn zO~ny$wi?bkVUbhlrN7ni1)FDjN1UyOci3z=BFka literal 0 HcmV?d00001 diff --git a/apps/common/main/resources/img/toolbar/1.75x/btn-browse.png b/apps/common/main/resources/img/toolbar/1.75x/btn-browse.png new file mode 100644 index 0000000000000000000000000000000000000000..37b8175fdaf208916f047ac5b971527ac5ea7513 GIT binary patch literal 303 zcmeAS@N?(olHy`uVBq!ia0vp^Za}Qe!2%?k<+eNnQr|pX978H@y`ARBd)PpLMche& z#YsWJNfC%ROQe)b#z!uiAVooaLi7d4AxLc9*+NhtwD4HQk#$ zrG)!Jw8s+rDJQ+AyTrHo>{9t<h{kIzcsi~eWjv*Dd-cE7kJ)j`K63!%~ z#med7;3ON$739Yxv~0he@2>sduJ07znOdaSP#33kWUW)bz#UG>53fZHULWDwe2Dwc zmJ`k5>kd3Wq?q$|XJ=!&e`4r~ize%gSKpB7op{JOw(SigyV>?{7eWkoE?W6k$j_(m zP)f9V$(J{bX72ITD^3co(me8vV^wX{w + + diff --git a/apps/common/main/resources/img/toolbar/2x/btn-browse.png b/apps/common/main/resources/img/toolbar/2x/btn-browse.png new file mode 100644 index 0000000000000000000000000000000000000000..28030b6800d20eeab0d79e8bf7f8efe41f948581 GIT binary patch literal 353 zcmV-n0iOPeP)*(oBNY=TjDA=9rQYJq(*^gyi3zKkz?l&sWu7ir z0Uy}C0Ue4zPjB(}JXX7TMzz8IJYCSS-ZP3jPZx9?=oZD9rwgXJAgS|8d;)u*LrI@^ zMK;a=np|b8Vfl;toslgjS`=Si{u_{GS@!1#!cRs-+slsb00000NkvXXu0mjf-z%4j literal 0 HcmV?d00001 From 7d8296e9ad48c7c6cb7e9507f86c2a85861a9398 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 2 Feb 2024 17:20:12 +0300 Subject: [PATCH 5/5] Update icons --- apps/documenteditor/main/app/view/HyperlinkSettingsDialog.js | 2 +- .../presentationeditor/main/app/view/HyperlinkSettingsDialog.js | 2 +- apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/documenteditor/main/app/view/HyperlinkSettingsDialog.js b/apps/documenteditor/main/app/view/HyperlinkSettingsDialog.js index c6ff317fd7..24a660cfc5 100644 --- a/apps/documenteditor/main/app/view/HyperlinkSettingsDialog.js +++ b/apps/documenteditor/main/app/view/HyperlinkSettingsDialog.js @@ -133,7 +133,7 @@ define([ blankError : me.txtEmpty, style : 'width: 100%;', validateOnBlur: false, - iconCls: 'toolbar__icon btn-goback', + iconCls: 'toolbar__icon btn-browse', placeHolder: me.appOptions.isDesktopApp ? me.txtUrlPlaceholder : '', btnHint: me.textSelectFile, validation : function(value) { diff --git a/apps/presentationeditor/main/app/view/HyperlinkSettingsDialog.js b/apps/presentationeditor/main/app/view/HyperlinkSettingsDialog.js index 17b9b9de2d..456f2cdae8 100644 --- a/apps/presentationeditor/main/app/view/HyperlinkSettingsDialog.js +++ b/apps/presentationeditor/main/app/view/HyperlinkSettingsDialog.js @@ -134,7 +134,7 @@ define([ blankError : me.txtEmpty, validateOnBlur: false, style : 'width: 100%;', - iconCls: 'toolbar__icon btn-goback', + iconCls: 'toolbar__icon btn-browse', placeHolder: me.appOptions.isDesktopApp ? me.txtUrlPlaceholder : '', btnHint: me.textSelectFile, validation : function(value) { diff --git a/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js b/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js index 66e13f0e73..3d3479d64b 100644 --- a/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js +++ b/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js @@ -141,7 +141,7 @@ define([ blankError : me.txtEmpty, validateOnBlur: false, style : 'width: 100%;', - iconCls: 'toolbar__icon btn-goback', + iconCls: 'toolbar__icon btn-browse', placeHolder: me.appOptions.isDesktopApp ? me.txtUrlPlaceholder : '', btnHint: me.textSelectFile, validation : function(value) {