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
c864a112
Commit
c864a112
authored
May 15, 2016
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Убрала проверку zoom-а браузера при загрузке редакторов.
parent
6f955b31
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
46 deletions
+0
-46
apps/documenteditor/main/app/controller/Main.js
apps/documenteditor/main/app/controller/Main.js
+0
-15
apps/presentationeditor/main/app/controller/Main.js
apps/presentationeditor/main/app/controller/Main.js
+0
-15
apps/spreadsheeteditor/main/app/controller/Main.js
apps/spreadsheeteditor/main/app/controller/Main.js
+0
-16
No files found.
apps/documenteditor/main/app/controller/Main.js
View file @
c864a112
...
...
@@ -766,7 +766,6 @@ define([
if
(
!
window
[
'
AscDesktopEditor
'
])
{
var
tips
=
[];
Common
.
Utils
.
isIE9m
&&
tips
.
push
(
me
.
warnBrowserIE9
);
!
Common
.
Utils
.
isGecko
&&
(
Math
.
abs
(
me
.
getBrowseZoomLevel
()
-
1
)
>
0.1
)
&&
tips
.
push
(
Common
.
Utils
.
String
.
platformKey
(
me
.
warnBrowserZoom
,
'
{0}
'
));
if
(
tips
.
length
)
me
.
showTips
(
tips
);
}
...
...
@@ -1246,20 +1245,6 @@ define([
this
.
_state
.
isDisconnected
=
true
;
},
getBrowseZoomLevel
:
function
()
{
if
(
Common
.
Utils
.
isIE
)
{
return
screen
.
logicalXDPI
/
screen
.
deviceXDPI
;
}
else
{
var
zoom
=
window
.
outerWidth
/
document
.
documentElement
.
clientWidth
;
if
(
Common
.
Utils
.
isSafari
)
{
zoom
=
Math
.
floor
(
zoom
*
10
)
/
10
;
}
return
zoom
;
}
},
showTips
:
function
(
strings
)
{
var
me
=
this
;
if
(
!
strings
.
length
)
return
;
...
...
apps/presentationeditor/main/app/controller/Main.js
View file @
c864a112
...
...
@@ -565,7 +565,6 @@ define([
if
(
!
window
[
'
AscDesktopEditor
'
])
{
var
tips
=
[];
Common
.
Utils
.
isIE9m
&&
tips
.
push
(
me
.
warnBrowserIE9
);
!
Common
.
Utils
.
isGecko
&&
(
Math
.
abs
(
me
.
getBrowseZoomLevel
()
-
1
)
>
0.1
)
&&
tips
.
push
(
Common
.
Utils
.
String
.
platformKey
(
me
.
warnBrowserZoom
,
'
{0}
'
));
if
(
tips
.
length
)
me
.
showTips
(
tips
);
}
...
...
@@ -1015,20 +1014,6 @@ define([
// this.getFileMenu().setMode({isDisconnected:true});
},
getBrowseZoomLevel
:
function
()
{
if
(
Common
.
Utils
.
isIE
)
{
return
screen
.
logicalXDPI
/
screen
.
deviceXDPI
;
}
else
{
var
zoom
=
window
.
outerWidth
/
document
.
documentElement
.
clientWidth
;
if
(
Common
.
Utils
.
isSafari
)
{
zoom
=
Math
.
floor
(
zoom
*
10
)
/
10
;
}
return
zoom
;
}
},
showTips
:
function
(
strings
)
{
var
me
=
this
;
if
(
!
strings
.
length
)
return
;
...
...
apps/spreadsheeteditor/main/app/controller/Main.js
View file @
c864a112
...
...
@@ -674,8 +674,6 @@ define([
if
(
!
window
[
'
AscDesktopEditor
'
])
{
var
tips
=
[];
Common
.
Utils
.
isIE9m
&&
tips
.
push
(
me
.
warnBrowserIE9
);
!
Common
.
Utils
.
isGecko
&&
!
me
.
appOptions
.
isEditMailMerge
&&
!
me
.
appOptions
.
isEditDiagram
&&
!
me
.
appOptions
.
nativeApp
&&
(
Math
.
abs
(
me
.
getBrowseZoomLevel
()
-
1
)
>
0.1
)
&&
tips
.
push
(
Common
.
Utils
.
String
.
platformKey
(
me
.
warnBrowserZoom
,
'
{0}
'
));
if
(
tips
.
length
)
me
.
showTips
(
tips
);
}
...
...
@@ -1152,20 +1150,6 @@ define([
this
.
_state
.
isDisconnected
=
true
;
},
getBrowseZoomLevel
:
function
()
{
if
(
Common
.
Utils
.
isIE
)
{
return
screen
.
logicalXDPI
/
screen
.
deviceXDPI
;
}
else
{
var
zoom
=
window
.
outerWidth
/
document
.
documentElement
.
clientWidth
;
if
(
Common
.
Utils
.
isSafari
)
{
zoom
=
Math
.
floor
(
zoom
*
10
)
/
10
;
}
return
zoom
;
}
},
showTips
:
function
(
strings
)
{
var
me
=
this
;
if
(
!
strings
.
length
)
return
;
...
...
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