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
b7b77872
Commit
b7b77872
authored
Feb 07, 2017
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PE] Add alternative text for tables.
parent
423c39d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
apps/presentationeditor/main/app/view/TableSettingsAdvanced.js
...presentationeditor/main/app/view/TableSettingsAdvanced.js
+7
-8
No files found.
apps/presentationeditor/main/app/view/TableSettingsAdvanced.js
View file @
b7b77872
...
...
@@ -311,7 +311,6 @@ define([ 'text!presentationeditor/main/app/template/TableSettingsAdvanced.tem
}
me
.
isAltDescChanged
=
true
;
});
this
.
btnsCategory
[
1
].
setVisible
(
false
);
this
.
afterRender
();
},
...
...
@@ -327,10 +326,10 @@ define([ 'text!presentationeditor/main/app/template/TableSettingsAdvanced.tem
getSettings
:
function
()
{
if
(
this
.
isAltTitleChanged
)
this
.
_changedProps
.
asc_putTitle
(
this
.
inputAltTitle
.
getValue
());
this
.
_changedProps
.
put_TableCaption
(
this
.
inputAltTitle
.
getValue
());
if
(
this
.
isAltDescChanged
)
this
.
_changedProps
.
asc_put
Description
(
this
.
textareaAltDescription
.
val
());
this
.
_changedProps
.
put_Table
Description
(
this
.
textareaAltDescription
.
val
());
return
{
tableProps
:
this
.
_changedProps
};
},
...
...
@@ -374,11 +373,11 @@ define([ 'text!presentationeditor/main/app/template/TableSettingsAdvanced.tem
this
.
fillMargins
(
this
.
CellMargins
.
Flag
);
// var value = props.asc_getTitle
();
//
this.inputAltTitle.setValue(value ? value : '');
//
// value = props.asc_get
Description();
//
this.textareaAltDescription.val(value ? value : '');
var
value
=
props
.
get_TableCaption
();
this
.
inputAltTitle
.
setValue
(
value
?
value
:
''
);
value
=
props
.
get_Table
Description
();
this
.
textareaAltDescription
.
val
(
value
?
value
:
''
);
this
.
_changedProps
=
new
Asc
.
CTableProp
();
}
...
...
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