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
edf3c790
Commit
edf3c790
authored
Jan 12, 2017
by
Maxim Kadushkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SSE mobile] debug 'Add' options on android
parent
8194d6fb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
15 deletions
+18
-15
apps/spreadsheeteditor/mobile/app/view/add/AddLink.js
apps/spreadsheeteditor/mobile/app/view/add/AddLink.js
+8
-6
apps/spreadsheeteditor/mobile/app/view/add/AddOther.js
apps/spreadsheeteditor/mobile/app/view/add/AddOther.js
+10
-9
No files found.
apps/spreadsheeteditor/mobile/app/view/add/AddLink.js
View file @
edf3c790
...
@@ -132,15 +132,17 @@ define([
...
@@ -132,15 +132,17 @@ define([
if
(
root
&&
this
.
layout
)
{
if
(
root
&&
this
.
layout
)
{
var
$content
=
this
.
layout
;
var
$content
=
this
.
layout
;
if
(
!
$content
.
find
(
'
.navbar
'
).
length
)
{
// Android fix for navigation
// Android fix for navigation
if
(
Framework7
.
prototype
.
device
.
android
)
{
if
(
Framework7
.
prototype
.
device
.
android
)
{
var
html
=
$content
.
html
()
+
navbar
;
$content
.
find
(
'
.page
'
).
append
(
navbar
)
;
}
else
{
}
else
{
html
=
navbar
+
$content
.
html
();
$content
.
prepend
(
navbar
);
}
}
}
root
.
router
.
load
({
root
.
router
.
load
({
content
:
html
content
:
$content
.
html
()
});
});
initEvents
.
call
(
this
);
initEvents
.
call
(
this
);
...
...
apps/spreadsheeteditor/mobile/app/view/add/AddOther.js
View file @
edf3c790
...
@@ -150,18 +150,19 @@ define([
...
@@ -150,18 +150,19 @@ define([
if
(
rootView
&&
this
.
layout
)
{
if
(
rootView
&&
this
.
layout
)
{
var
$content
=
this
.
layout
.
find
(
templateId
);
var
$content
=
this
.
layout
.
find
(
templateId
);
var
html
,
navbar
=
getNavigation
.
call
(
this
,
templateId
);
var
navbar
=
getNavigation
.
call
(
this
,
templateId
);
if
(
!
$content
.
find
(
'
.navbar
'
).
length
)
{
// Android fix for navigation
// Android fix for navigation
if
(
Framework7
.
prototype
.
device
.
android
)
{
if
(
Framework7
.
prototype
.
device
.
android
)
{
// $content.find('.page').append($content.find('.navbar'));
$content
.
find
(
'
.page
'
).
append
(
navbar
);
html
=
$content
.
html
()
+
navbar
;
}
else
{
}
else
{
html
=
navbar
+
$content
.
html
();
$content
.
prepend
(
navbar
);
}
}
}
rootView
.
router
.
load
({
rootView
.
router
.
load
({
content
:
html
content
:
$content
.
html
()
});
});
this
.
fireEvent
(
'
page:show
'
,
[
this
,
templateId
]);
this
.
fireEvent
(
'
page:show
'
,
[
this
,
templateId
]);
...
...
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