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
ae19165f
Commit
ae19165f
authored
Apr 14, 2016
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
https://github.com/ONLYOFFICE/web-apps
into develop
parents
271bbc70
fdc81627
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
apps/documenteditor/main/app/view/FileMenuPanels.js
apps/documenteditor/main/app/view/FileMenuPanels.js
+2
-2
apps/presentationeditor/main/app/view/FileMenuPanels.js
apps/presentationeditor/main/app/view/FileMenuPanels.js
+2
-2
apps/spreadsheeteditor/main/app/view/FileMenuPanels.js
apps/spreadsheeteditor/main/app/view/FileMenuPanels.js
+2
-2
No files found.
apps/documenteditor/main/app/view/FileMenuPanels.js
View file @
ae19165f
...
@@ -329,7 +329,7 @@ define([
...
@@ -329,7 +329,7 @@ define([
this
.
chLiveComment
.
setValue
(
!
(
value
!==
null
&&
parseInt
(
value
)
==
0
));
this
.
chLiveComment
.
setValue
(
!
(
value
!==
null
&&
parseInt
(
value
)
==
0
));
value
=
Common
.
localStorage
.
getItem
(
"
de-settings-coauthmode
"
);
value
=
Common
.
localStorage
.
getItem
(
"
de-settings-coauthmode
"
);
var
fast_coauth
=
(
value
===
null
||
parseInt
(
value
)
==
1
);
var
fast_coauth
=
(
value
===
null
||
parseInt
(
value
)
==
1
)
&&
!
(
this
.
mode
.
isDesktopApp
&&
this
.
mode
.
isOffline
)
;
item
=
this
.
cmbCoAuthMode
.
store
.
findWhere
({
value
:
parseInt
(
value
)});
item
=
this
.
cmbCoAuthMode
.
store
.
findWhere
({
value
:
parseInt
(
value
)});
this
.
cmbCoAuthMode
.
setValue
(
item
?
item
.
get
(
'
value
'
)
:
1
);
this
.
cmbCoAuthMode
.
setValue
(
item
?
item
.
get
(
'
value
'
)
:
1
);
...
@@ -352,7 +352,7 @@ define([
...
@@ -352,7 +352,7 @@ define([
this
.
_oldUnits
=
this
.
cmbUnit
.
getValue
();
this
.
_oldUnits
=
this
.
cmbUnit
.
getValue
();
value
=
Common
.
localStorage
.
getItem
(
"
de-settings-autosave
"
);
value
=
Common
.
localStorage
.
getItem
(
"
de-settings-autosave
"
);
this
.
chAutosave
.
setValue
(
fast_coauth
);
this
.
chAutosave
.
setValue
(
fast_coauth
||
(
value
===
null
||
parseInt
(
value
)
==
1
)
);
value
=
Common
.
localStorage
.
getItem
(
"
de-settings-spellcheck
"
);
value
=
Common
.
localStorage
.
getItem
(
"
de-settings-spellcheck
"
);
this
.
chSpell
.
setValue
(
value
===
null
||
parseInt
(
value
)
==
1
);
this
.
chSpell
.
setValue
(
value
===
null
||
parseInt
(
value
)
==
1
);
...
...
apps/presentationeditor/main/app/view/FileMenuPanels.js
View file @
ae19165f
...
@@ -273,7 +273,7 @@ define([
...
@@ -273,7 +273,7 @@ define([
/** coauthoring begin **/
/** coauthoring begin **/
value
=
Common
.
localStorage
.
getItem
(
"
pe-settings-coauthmode
"
);
value
=
Common
.
localStorage
.
getItem
(
"
pe-settings-coauthmode
"
);
var
fast_coauth
=
(
value
===
null
||
parseInt
(
value
)
==
1
);
var
fast_coauth
=
(
value
===
null
||
parseInt
(
value
)
==
1
)
&&
!
(
this
.
mode
.
isDesktopApp
&&
this
.
mode
.
isOffline
)
;
item
=
this
.
cmbCoAuthMode
.
store
.
findWhere
({
value
:
parseInt
(
value
)});
item
=
this
.
cmbCoAuthMode
.
store
.
findWhere
({
value
:
parseInt
(
value
)});
this
.
cmbCoAuthMode
.
setValue
(
item
?
item
.
get
(
'
value
'
)
:
1
);
this
.
cmbCoAuthMode
.
setValue
(
item
?
item
.
get
(
'
value
'
)
:
1
);
...
@@ -286,7 +286,7 @@ define([
...
@@ -286,7 +286,7 @@ define([
this
.
_oldUnits
=
this
.
cmbUnit
.
getValue
();
this
.
_oldUnits
=
this
.
cmbUnit
.
getValue
();
value
=
Common
.
localStorage
.
getItem
(
"
pe-settings-autosave
"
);
value
=
Common
.
localStorage
.
getItem
(
"
pe-settings-autosave
"
);
this
.
chAutosave
.
setValue
(
fast_coauth
);
this
.
chAutosave
.
setValue
(
fast_coauth
||
(
value
===
null
||
parseInt
(
value
)
==
1
)
);
value
=
Common
.
localStorage
.
getItem
(
"
pe-settings-showsnaplines
"
);
value
=
Common
.
localStorage
.
getItem
(
"
pe-settings-showsnaplines
"
);
this
.
chAlignGuides
.
setValue
(
value
===
null
||
parseInt
(
value
)
==
1
);
this
.
chAlignGuides
.
setValue
(
value
===
null
||
parseInt
(
value
)
==
1
);
...
...
apps/spreadsheeteditor/main/app/view/FileMenuPanels.js
View file @
ae19165f
...
@@ -648,7 +648,7 @@ define([
...
@@ -648,7 +648,7 @@ define([
this
.
chLiveComment
.
setValue
(
!
(
value
!==
null
&&
parseInt
(
value
)
==
0
));
this
.
chLiveComment
.
setValue
(
!
(
value
!==
null
&&
parseInt
(
value
)
==
0
));
value
=
Common
.
localStorage
.
getItem
(
"
sse-settings-coauthmode
"
);
value
=
Common
.
localStorage
.
getItem
(
"
sse-settings-coauthmode
"
);
var
fast_coauth
=
(
value
===
null
||
parseInt
(
value
)
==
1
);
var
fast_coauth
=
(
value
===
null
||
parseInt
(
value
)
==
1
)
&&
!
(
this
.
mode
.
isDesktopApp
&&
this
.
mode
.
isOffline
)
;
item
=
this
.
cmbCoAuthMode
.
store
.
findWhere
({
value
:
parseInt
(
value
)});
item
=
this
.
cmbCoAuthMode
.
store
.
findWhere
({
value
:
parseInt
(
value
)});
this
.
cmbCoAuthMode
.
setValue
(
item
?
item
.
get
(
'
value
'
)
:
1
);
this
.
cmbCoAuthMode
.
setValue
(
item
?
item
.
get
(
'
value
'
)
:
1
);
...
@@ -665,7 +665,7 @@ define([
...
@@ -665,7 +665,7 @@ define([
this
.
_oldUnits
=
this
.
cmbUnit
.
getValue
();
this
.
_oldUnits
=
this
.
cmbUnit
.
getValue
();
value
=
Common
.
localStorage
.
getItem
(
"
sse-settings-autosave
"
);
value
=
Common
.
localStorage
.
getItem
(
"
sse-settings-autosave
"
);
this
.
chAutosave
.
setValue
(
fast_coauth
);
this
.
chAutosave
.
setValue
(
fast_coauth
||
(
value
===
null
||
parseInt
(
value
)
==
1
)
);
value
=
Common
.
localStorage
.
getItem
(
"
sse-settings-func-locale
"
);
value
=
Common
.
localStorage
.
getItem
(
"
sse-settings-func-locale
"
);
if
(
value
===
null
)
if
(
value
===
null
)
...
...
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