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
e7d7f871
Commit
e7d7f871
authored
Sep 08, 2017
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Mobile] Bug with loading protected files.
parent
abc80c47
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
0 deletions
+27
-0
apps/documenteditor/mobile/app/controller/Main.js
apps/documenteditor/mobile/app/controller/Main.js
+9
-0
apps/presentationeditor/mobile/app/controller/Main.js
apps/presentationeditor/mobile/app/controller/Main.js
+9
-0
apps/spreadsheeteditor/mobile/app/controller/Main.js
apps/spreadsheeteditor/mobile/app/controller/Main.js
+9
-0
No files found.
apps/documenteditor/mobile/app/controller/Main.js
View file @
e7d7f871
...
@@ -1045,6 +1045,10 @@ define([
...
@@ -1045,6 +1045,10 @@ define([
});
});
}
else
if
(
type
==
Asc
.
c_oAscAdvancedOptionsID
.
DRM
)
{
}
else
if
(
type
==
Asc
.
c_oAscAdvancedOptionsID
.
DRM
)
{
$
(
me
.
loadMask
).
hasClass
(
'
modal-in
'
)
&&
uiApp
.
closeModal
(
me
.
loadMask
);
me
.
onLongActionEnd
(
Asc
.
c_oAscAsyncActionType
.
BlockInteraction
,
LoadingDocument
);
modal
=
uiApp
.
modal
({
modal
=
uiApp
.
modal
({
title
:
me
.
advDRMOptions
,
title
:
me
.
advDRMOptions
,
text
:
me
.
advDRMEnterPassword
,
text
:
me
.
advDRMEnterPassword
,
...
@@ -1064,6 +1068,11 @@ define([
...
@@ -1064,6 +1068,11 @@ define([
}
}
]
]
});
});
// Vertical align
$$
(
modal
).
css
({
marginTop
:
-
Math
.
round
(
$$
(
modal
).
outerHeight
()
/
2
)
+
'
px
'
});
}
}
},
},
...
...
apps/presentationeditor/mobile/app/controller/Main.js
View file @
e7d7f871
...
@@ -998,6 +998,10 @@ define([
...
@@ -998,6 +998,10 @@ define([
me
=
this
,
modal
;
me
=
this
,
modal
;
if
(
type
==
Asc
.
c_oAscAdvancedOptionsID
.
DRM
)
{
if
(
type
==
Asc
.
c_oAscAdvancedOptionsID
.
DRM
)
{
$
(
me
.
loadMask
).
hasClass
(
'
modal-in
'
)
&&
uiApp
.
closeModal
(
me
.
loadMask
);
me
.
onLongActionEnd
(
Asc
.
c_oAscAsyncActionType
.
BlockInteraction
,
LoadingDocument
);
modal
=
uiApp
.
modal
({
modal
=
uiApp
.
modal
({
title
:
me
.
advDRMOptions
,
title
:
me
.
advDRMOptions
,
text
:
me
.
advDRMEnterPassword
,
text
:
me
.
advDRMEnterPassword
,
...
@@ -1017,6 +1021,11 @@ define([
...
@@ -1017,6 +1021,11 @@ define([
}
}
]
]
});
});
// Vertical align
$$
(
modal
).
css
({
marginTop
:
-
Math
.
round
(
$$
(
modal
).
outerHeight
()
/
2
)
+
'
px
'
});
}
}
},
},
...
...
apps/spreadsheeteditor/mobile/app/controller/Main.js
View file @
e7d7f871
...
@@ -1173,6 +1173,10 @@ define([
...
@@ -1173,6 +1173,10 @@ define([
marginTop
:
-
Math
.
round
(
$$
(
modal
).
outerHeight
()
/
2
)
+
'
px
'
marginTop
:
-
Math
.
round
(
$$
(
modal
).
outerHeight
()
/
2
)
+
'
px
'
});
});
}
else
if
(
type
==
Asc
.
c_oAscAdvancedOptionsID
.
DRM
)
{
}
else
if
(
type
==
Asc
.
c_oAscAdvancedOptionsID
.
DRM
)
{
$
(
me
.
loadMask
).
hasClass
(
'
modal-in
'
)
&&
uiApp
.
closeModal
(
me
.
loadMask
);
me
.
onLongActionEnd
(
Asc
.
c_oAscAsyncActionType
.
BlockInteraction
,
LoadingDocument
);
modal
=
uiApp
.
modal
({
modal
=
uiApp
.
modal
({
title
:
me
.
advDRMOptions
,
title
:
me
.
advDRMOptions
,
text
:
me
.
advDRMEnterPassword
,
text
:
me
.
advDRMEnterPassword
,
...
@@ -1192,6 +1196,11 @@ define([
...
@@ -1192,6 +1196,11 @@ define([
}
}
]
]
});
});
// Vertical align
$$
(
modal
).
css
({
marginTop
:
-
Math
.
round
(
$$
(
modal
).
outerHeight
()
/
2
)
+
'
px
'
});
}
}
},
},
...
...
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