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
933599c2
Commit
933599c2
authored
May 10, 2016
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asc_onInitEditorShapes and get_PropertyEditorShapes -> asc_getPropertyEditorShapes
parent
da89237f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
6 deletions
+12
-6
apps/documenteditor/main/app/controller/Main.js
apps/documenteditor/main/app/controller/Main.js
+2
-2
apps/presentationeditor/main/app/controller/Main.js
apps/presentationeditor/main/app/controller/Main.js
+2
-2
apps/spreadsheeteditor/main/app/controller/Main.js
apps/spreadsheeteditor/main/app/controller/Main.js
+8
-2
No files found.
apps/documenteditor/main/app/controller/Main.js
View file @
933599c2
...
...
@@ -697,7 +697,7 @@ define([
documentHolderController
.
getView
(
'
DocumentHolder
'
).
changePosition
();
me
.
loadLanguages
();
var
shapes
=
me
.
api
.
get_
PropertyEditorShapes
();
var
shapes
=
me
.
api
.
asc_get
PropertyEditorShapes
();
if
(
shapes
)
me
.
fillAutoShapes
(
shapes
[
0
],
shapes
[
1
]);
...
...
@@ -845,7 +845,7 @@ define([
rightmenuController
.
createDelayedElements
();
var
shapes
=
me
.
api
.
get_
PropertyEditorShapes
();
var
shapes
=
me
.
api
.
asc_get
PropertyEditorShapes
();
if
(
shapes
)
me
.
fillAutoShapes
(
shapes
[
0
],
shapes
[
1
]);
...
...
apps/presentationeditor/main/app/controller/Main.js
View file @
933599c2
...
...
@@ -516,7 +516,7 @@ define([
me
.
api
.
asc_registerCallback
(
'
asc_onFocusObject
'
,
_
.
bind
(
me
.
onFocusObject
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onUpdateLayout
'
,
_
.
bind
(
me
.
fillLayoutsStore
,
me
));
// slide layouts loading
me
.
updateThemeColors
();
var
shapes
=
me
.
api
.
get_
PropertyEditorShapes
();
var
shapes
=
me
.
api
.
asc_get
PropertyEditorShapes
();
if
(
shapes
)
me
.
fillAutoShapes
(
shapes
[
0
],
shapes
[
1
]);
me
.
fillTextArt
(
me
.
api
.
asc_getTextArtPreviews
());
...
...
@@ -641,7 +641,7 @@ define([
me
.
api
.
asc_registerCallback
(
'
asc_onFocusObject
'
,
_
.
bind
(
me
.
onFocusObject
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onUpdateLayout
'
,
_
.
bind
(
me
.
fillLayoutsStore
,
me
));
// slide layouts loading
me
.
updateThemeColors
();
var
shapes
=
me
.
api
.
get_
PropertyEditorShapes
();
var
shapes
=
me
.
api
.
asc_get
PropertyEditorShapes
();
if
(
shapes
)
me
.
fillAutoShapes
(
shapes
[
0
],
shapes
[
1
]);
me
.
fillTextArt
(
me
.
api
.
asc_getTextArtPreviews
());
...
...
apps/spreadsheeteditor/main/app/controller/Main.js
View file @
933599c2
...
...
@@ -504,11 +504,14 @@ define([
application
.
getController
(
'
Statusbar
'
).
getView
(
'
Statusbar
'
).
update
();
application
.
getController
(
'
CellEditor
'
).
setMode
(
me
.
appOptions
);
me
.
api
.
asc_registerCallback
(
'
asc_onInitEditorShapes
'
,
_
.
bind
(
me
.
fillAutoShapes
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onSaveUrl
'
,
_
.
bind
(
me
.
onSaveUrl
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onDocumentModifiedChanged
'
,
_
.
bind
(
me
.
onDocumentModifiedChanged
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onDocumentCanSaveChanged
'
,
_
.
bind
(
me
.
onDocumentCanSaveChanged
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onDownloadUrl
'
,
_
.
bind
(
me
.
onDownloadUrl
,
me
));
var
shapes
=
me
.
api
.
asc_getPropertyEditorShapes
();
if
(
shapes
)
me
.
fillAutoShapes
(
shapes
[
0
],
shapes
[
1
]);
me
.
fillTextArt
(
me
.
api
.
asc_getTextArtPreviews
());
me
.
updateThemeColors
();
...
...
@@ -622,7 +625,10 @@ define([
rightmenuController
.
createDelayedElements
();
if
(
!
me
.
appOptions
.
isEditMailMerge
&&
!
me
.
appOptions
.
isEditDiagram
)
{
me
.
api
.
asc_registerCallback
(
'
asc_onInitEditorShapes
'
,
_
.
bind
(
me
.
fillAutoShapes
,
me
));
var
shapes
=
me
.
api
.
asc_getPropertyEditorShapes
();
if
(
shapes
)
me
.
fillAutoShapes
(
shapes
[
0
],
shapes
[
1
]);
me
.
fillTextArt
(
me
.
api
.
asc_getTextArtPreviews
());
me
.
updateThemeColors
();
}
...
...
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