Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web-apps
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
web-apps
Commits
27863327
Commit
27863327
authored
Aug 05, 2016
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SSE] Fix bug 32282.
parent
4dec00eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
apps/spreadsheeteditor/main/app/controller/DocumentHolder.js
apps/spreadsheeteditor/main/app/controller/DocumentHolder.js
+16
-2
apps/spreadsheeteditor/main/locale/en.json
apps/spreadsheeteditor/main/locale/en.json
+2
-0
No files found.
apps/spreadsheeteditor/main/app/controller/DocumentHolder.js
View file @
27863327
...
...
@@ -960,7 +960,19 @@ define([
},
onApiHyperlinkClick
:
function
(
url
)
{
if
(
url
&&
this
.
api
.
asc_getUrlType
(
url
)
>
0
)
{
if
(
!
url
)
{
Common
.
UI
.
alert
({
msg
:
this
.
errorInvalidLink
,
title
:
this
.
notcriticalErrorTitle
,
iconCls
:
'
warn
'
,
buttons
:
[
'
ok
'
],
callback
:
_
.
bind
(
function
(
btn
){
Common
.
NotificationCenter
.
trigger
(
'
edit:complete
'
,
this
.
documentHolder
);
},
this
)
});
return
;
}
if
(
this
.
api
.
asc_getUrlType
(
url
)
>
0
)
{
var
newDocumentPage
=
window
.
open
(
url
,
'
_blank
'
);
if
(
newDocumentPage
)
newDocumentPage
.
focus
();
...
...
@@ -1540,7 +1552,9 @@ define([
textChangeRowHeight
:
'
Row Height {0} points ({1} pixels)
'
,
textInsertLeft
:
'
Insert Left
'
,
textInsertTop
:
'
Insert Top
'
,
textSym
:
'
sym
'
textSym
:
'
sym
'
,
notcriticalErrorTitle
:
'
Warning
'
,
errorInvalidLink
:
'
The link reference does not exist. Please correct the link or delete it.
'
},
SSE
.
Controllers
.
DocumentHolder
||
{}));
});
\ No newline at end of file
apps/spreadsheeteditor/main/locale/en.json
View file @
27863327
...
...
@@ -98,6 +98,8 @@
"SSE.Controllers.DocumentHolder.txtHeight"
:
"Height"
,
"SSE.Controllers.DocumentHolder.txtRowHeight"
:
"Row Height"
,
"SSE.Controllers.DocumentHolder.txtWidth"
:
"Width"
,
"SSE.Controllers.DocumentHolder.notcriticalErrorTitle"
:
"Warning"
,
"SSE.Controllers.DocumentHolder.errorInvalidLink"
:
"The link reference does not exist. Please correct the link or delete it."
,
"SSE.Controllers.LeftMenu.newDocumentTitle"
:
"Unnamed spreadsheet"
,
"SSE.Controllers.LeftMenu.textByColumns"
:
"By columns"
,
"SSE.Controllers.LeftMenu.textByRows"
:
"By rows"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment