Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
slapos.core
Commits
bbabfa06
Commit
bbabfa06
authored
Jun 27, 2012
by
Thomas Lechauve
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'slapjs' of
http://git.erp5.org/repos/slapos.core
into slapjs
parents
72511093
7a3fb3f7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
13 deletions
+14
-13
vifib/index.html
vifib/index.html
+1
-5
vifib/static/js/core.js
vifib/static/js/core.js
+0
-8
vifib/static/js/jqm-config.js
vifib/static/js/jqm-config.js
+13
-0
No files found.
vifib/index.html
View file @
bbabfa06
...
...
@@ -322,10 +322,6 @@
<
/div
>
</script>
<script
id=
"root"
type=
"text/html"
>
<
div
data
-
role
=
"
page
"
data
-
theme
=
"
c
"
><
/div
>
</script>
<script
src=
"http://code.jquery.com/jquery-1.7.1.min.js"
></script>
<script
type=
"text/javascript"
src=
"static/js/ICanHaz.min.js"
></script>
<script
type=
"text/javascript"
src=
"static/js/swipe.min.js"
></script>
...
...
@@ -334,10 +330,10 @@
<script
type=
"text/javascript"
src=
"static/js/jquery.slapos.js"
></script>
<script
type=
"text/javascript"
src=
"static/js/jquery.urljs.js"
></script>
<script
type=
"text/javascript"
src=
"static/js/fake.js"
></script>
<script
type=
"text/javascript"
src=
"static/js/jqm-config.js"
></script>
<script
type=
"text/javascript"
src=
"static/js/core.js"
></script>
<script
src=
"http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.js"
></script>
</head>
<body>
<div
data-role=
"page"
data-theme=
"c"
></div>
</body>
</html>
vifib/static/js/core.js
View file @
bbabfa06
...
...
@@ -676,14 +676,6 @@
};
}(
jQuery
));
$
(
document
).
bind
(
"
mobileinit
"
,
function
(){
// let's handle ourself the hashchange event
$
.
mobile
.
hashListeningEnabled
=
false
;
$
.
mobile
.
pushStateEnabled
=
false
;
$
.
mobile
.
ajaxEnabled
=
false
;
$
.
mobile
.
linkBindingEnabled
=
false
;
$
.
mobile
.
defaultPageTransition
=
'
none
'
;
});
$
(
document
).
bind
(
'
pagecreate
'
,
function
()
{
$
(
'
body
'
).
vifib
();
});
...
...
vifib/static/js/jqm-config.js
0 → 100644
View file @
bbabfa06
$
(
document
).
bind
(
"
mobileinit
"
,
function
()
{
$
.
mobile
.
ajaxEnabled
=
false
;
$
.
mobile
.
linkBindingEnabled
=
false
;
$
.
mobile
.
hashListeningEnabled
=
false
;
$
.
mobile
.
pushStateEnabled
=
false
;
// Disable transition
// $.mobile.defaultPageTransition = 'none';
// Remove page from DOM when it's being replaced
$
(
'
div[data-role="page"]
'
).
live
(
'
pagehide
'
,
function
(
event
,
ui
)
{
$
(
event
.
currentTarget
).
remove
();
});
});
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