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
e441f92b
Commit
e441f92b
authored
Feb 06, 2017
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SSE] Add alternative text for tables.
parent
1eae40c6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
8 deletions
+11
-8
apps/spreadsheeteditor/main/app/template/TableSettings.template
...preadsheeteditor/main/app/template/TableSettings.template
+2
-2
apps/spreadsheeteditor/main/app/view/TableSettings.js
apps/spreadsheeteditor/main/app/view/TableSettings.js
+4
-1
apps/spreadsheeteditor/main/app/view/TableSettingsAdvanced.js
.../spreadsheeteditor/main/app/view/TableSettingsAdvanced.js
+5
-5
No files found.
apps/spreadsheeteditor/main/app/template/TableSettings.template
View file @
e441f92b
...
...
@@ -73,12 +73,12 @@
<div id="table-btn-edit" style="display: inline-block; float:right;"></div>
</td>
</tr>
<tr
class="hidden"
>
<tr>
<td class="padding-small" colspan=2>
<div class="separator horizontal"></div>
</td>
</tr>
<tr
class="hidden"
>
<tr>
<td align="center" colspan=2>
<label class="link" id="table-advanced-link"><%= scope.textAdvanced %></label>
</td>
...
...
apps/spreadsheeteditor/main/app/view/TableSettings.js
View file @
e441f92b
...
...
@@ -304,7 +304,10 @@ define([
handler
:
function
(
result
,
value
)
{
if
(
result
==
'
ok
'
)
{
if
(
me
.
api
)
{
// me.api.asc_setGraphicObjectProps(value.tableProps);
if
(
value
.
tableProps
.
altTitle
)
me
.
api
.
asc_changeFormatTableInfo
(
me
.
_state
.
TableName
,
Asc
.
c_oAscChangeTableStyleInfo
.
title
,
value
.
tableProps
.
altTitle
);
if
(
value
.
tableProps
.
altDescription
)
me
.
api
.
asc_changeFormatTableInfo
(
me
.
_state
.
TableName
,
Asc
.
c_oAscChangeTableStyleInfo
.
description
,
value
.
tableProps
.
altDescription
);
}
}
...
...
apps/spreadsheeteditor/main/app/view/TableSettingsAdvanced.js
View file @
e441f92b
...
...
@@ -106,11 +106,11 @@ define([ 'text!spreadsheeteditor/main/app/template/TableSettingsAdvanced.temp
_setDefaults
:
function
(
props
)
{
if
(
props
){
//
var value = props.asc_getTitle();
//
this.inputAltTitle.setValue(value ? value : '');
//
//
value = props.asc_getDescription();
//
this.textareaAltDescription.val(value ? value : '');
var
value
=
props
.
asc_getTitle
();
this
.
inputAltTitle
.
setValue
(
value
?
value
:
''
);
value
=
props
.
asc_getDescription
();
this
.
textareaAltDescription
.
val
(
value
?
value
:
''
);
}
},
...
...
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