From 47f468a434c90f51643134213ab2a8d0fb23e9f8 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 25 Oct 2010 16:33:32 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20correction=20temporaire=20sur=20jQuery?= =?UTF-8?q?=20mobile=20afin=20de=20corriger=20le=20probleme=20dans=20les?= =?UTF-8?q?=20menus=20en=20attente=20de=20confirmation=20des=20d=8Eveloppe?= =?UTF-8?q?urs=20jQuery=20Mobile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/includes/jquery/mobile/jquery.mobile-1.0a1.js | 4 +++- htdocs/theme/phones/smartphone/tpl/header.tpl.php | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/htdocs/includes/jquery/mobile/jquery.mobile-1.0a1.js b/htdocs/includes/jquery/mobile/jquery.mobile-1.0a1.js index 06b65f566b1..d00d7655b9a 100644 --- a/htdocs/includes/jquery/mobile/jquery.mobile-1.0a1.js +++ b/htdocs/includes/jquery/mobile/jquery.mobile-1.0a1.js @@ -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( "
" ) diff --git a/htdocs/theme/phones/smartphone/tpl/header.tpl.php b/htdocs/theme/phones/smartphone/tpl/header.tpl.php index fd1c9572c13..fb848b8cfce 100644 --- a/htdocs/theme/phones/smartphone/tpl/header.tpl.php +++ b/htdocs/theme/phones/smartphone/tpl/header.tpl.php @@ -35,7 +35,10 @@ header("Content-type: text/html; charset=".$conf->file->character_set_client); + +