2
0
forked from Wavyzz/dolibarr

Fix: correction temporaire sur jQuery mobile afin de corriger le probleme dans les menus

en attente de confirmation des dveloppeurs jQuery Mobile
This commit is contained in:
Regis Houssin
2010-10-25 16:33:32 +00:00
parent 369122fb0c
commit 47f468a434
2 changed files with 6 additions and 1 deletions

View File

@@ -2268,7 +2268,9 @@ $.widget( "mobile.listview", $.mobile.widget, {
var list = $( this ),
parent = list.parent(),
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,
countTheme = list.data( "counttheme" ) || parentList.data( "counttheme" ) || o.countTheme,
newPage = list.wrap( "<div data-role='page'><div data-role='content'></div></div>" )