Fix: correction temporaire sur jQuery mobile afin de corriger le probleme dans les menus
en attente de confirmation des dŽveloppeurs jQuery Mobile
This commit is contained in:
parent
369122fb0c
commit
47f468a434
@ -2268,7 +2268,9 @@ $.widget( "mobile.listview", $.mobile.widget, {
|
|||||||
var list = $( this ),
|
var list = $( this ),
|
||||||
parent = list.parent(),
|
parent = list.parent(),
|
||||||
title = parent.contents()[ 0 ].nodeValue.split("\n")[0],
|
title = parent.contents()[ 0 ].nodeValue.split("\n")[0],
|
||||||
id = parentId + "&" + $.mobile.subPageUrlKey + "=" + $.mobile.idStringEscape(title + " " + i),
|
// DOLFIX - Regis - bug in nested list
|
||||||
|
//id = parentId + "&" + $.mobile.subPageUrlKey + "=" + $.mobile.idStringEscape(title + " " + i),
|
||||||
|
id = parentId + "&" + $.mobile.subPageUrlKey + "=" + $.mobile.idStringEscape(title + "-" + i),
|
||||||
theme = list.data( "theme" ) || o.theme,
|
theme = list.data( "theme" ) || o.theme,
|
||||||
countTheme = list.data( "counttheme" ) || parentList.data( "counttheme" ) || o.countTheme,
|
countTheme = list.data( "counttheme" ) || parentList.data( "counttheme" ) || o.countTheme,
|
||||||
newPage = list.wrap( "<div data-role='page'><div data-role='content'></div></div>" )
|
newPage = list.wrap( "<div data-role='page'><div data-role='content'></div></div>" )
|
||||||
|
|||||||
@ -35,7 +35,10 @@ header("Content-type: text/html; charset=".$conf->file->character_set_client);
|
|||||||
<link rel="stylesheet" href="<?php echo DOL_URL_ROOT.'/includes/jquery/mobile/jquery.mobile-1.0a1.min.css'; ?>" />
|
<link rel="stylesheet" href="<?php echo DOL_URL_ROOT.'/includes/jquery/mobile/jquery.mobile-1.0a1.min.css'; ?>" />
|
||||||
<link rel="stylesheet" href="<?php echo DOL_URL_ROOT.'/theme/phones/smartphone/theme/default/default.css.php'; ?>" />
|
<link rel="stylesheet" href="<?php echo DOL_URL_ROOT.'/theme/phones/smartphone/theme/default/default.css.php'; ?>" />
|
||||||
<script src="<?php echo DOL_URL_ROOT.'/includes/jquery/js/jquery-1.4.3.min.js'; ?>"></script>
|
<script src="<?php echo DOL_URL_ROOT.'/includes/jquery/js/jquery-1.4.3.min.js'; ?>"></script>
|
||||||
|
<script src="<?php echo DOL_URL_ROOT.'/includes/jquery/mobile/jquery.mobile-1.0a1.js'; ?>"></script>
|
||||||
|
<!--
|
||||||
<script src="<?php echo DOL_URL_ROOT.'/includes/jquery/mobile/jquery.mobile-1.0a1.min.js'; ?>"></script>
|
<script src="<?php echo DOL_URL_ROOT.'/includes/jquery/mobile/jquery.mobile-1.0a1.min.js'; ?>"></script>
|
||||||
|
-->
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user