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
c47166ca
Commit
c47166ca
authored
Aug 23, 2016
by
Alexey Golubev
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of github.com:ONLYOFFICE/web-apps into develop
parents
7a1cbfc1
880fad0c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
1 deletion
+14
-1
apps/documenteditor/main/app/controller/Toolbar.js
apps/documenteditor/main/app/controller/Toolbar.js
+4
-1
apps/documenteditor/main/app/view/Toolbar.js
apps/documenteditor/main/app/view/Toolbar.js
+5
-0
apps/spreadsheeteditor/main/app/controller/Toolbar.js
apps/spreadsheeteditor/main/app/controller/Toolbar.js
+5
-0
No files found.
apps/documenteditor/main/app/controller/Toolbar.js
View file @
c47166ca
...
...
@@ -2189,6 +2189,8 @@ define([
},
fillEquations
:
function
()
{
if
(
!
this
.
toolbar
.
btnInsertEquation
.
rendered
)
return
;
var
me
=
this
,
equationsStore
=
this
.
getApplication
().
getCollection
(
'
EquationGroups
'
);
me
.
equationPickers
=
[];
...
...
@@ -2380,8 +2382,9 @@ define([
},
fillTextArt
:
function
()
{
var
me
=
this
;
if
(
!
this
.
toolbar
.
btnInsertText
.
rendered
)
return
;
var
me
=
this
;
if
(
this
.
toolbar
.
mnuTextArtPicker
)
{
var
models
=
this
.
getApplication
().
getCollection
(
'
Common.Collections.TextArt
'
).
models
,
count
=
this
.
toolbar
.
mnuTextArtPicker
.
store
.
length
;
...
...
apps/documenteditor/main/app/view/Toolbar.js
View file @
c47166ca
...
...
@@ -1557,6 +1557,11 @@ define([
if
(
me
.
listStyles
.
menuPicker
.
store
.
length
>
0
&&
listStylesVisible
){
me
.
listStyles
.
fillComboView
(
me
.
listStyles
.
menuPicker
.
getSelectedRec
(),
true
);
}
if
(
me
.
btnInsertText
.
rendered
)
DE
.
getController
(
'
Toolbar
'
).
fillTextArt
();
if
(
me
.
btnInsertEquation
.
rendered
)
DE
.
getController
(
'
Toolbar
'
).
fillEquations
();
},
100
);
}
...
...
apps/spreadsheeteditor/main/app/controller/Toolbar.js
View file @
c47166ca
...
...
@@ -1256,6 +1256,9 @@ define([
if
(
me
.
toolbar
.
listStyles
.
menuPicker
.
store
.
length
>
0
&&
listStylesVisible
){
me
.
toolbar
.
listStyles
.
fillComboView
(
me
.
toolbar
.
listStyles
.
menuPicker
.
getSelectedRec
(),
true
);
}
if
(
me
.
toolbar
.
btnInsertText
.
rendered
)
SSE
.
getController
(
'
Toolbar
'
).
fillTextArt
();
},
100
);
}
...
...
@@ -2002,6 +2005,8 @@ define([
},
fillTextArt
:
function
()
{
if
(
!
this
.
toolbar
.
btnInsertText
.
rendered
)
return
;
var
me
=
this
;
if
(
this
.
toolbar
.
mnuTextArtPicker
)
{
...
...
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