[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Maposmatic-dev] [PATCH 4/8] Only handle click on the label instead on t
From: |
Thomas Petazzoni |
Subject: |
[Maposmatic-dev] [PATCH 4/8] Only handle click on the label instead on the full <li> element |
Date: |
Sat, 7 Aug 2010 11:18:49 +0200 |
Signed-off-by: Thomas Petazzoni <address@hidden>
---
www/media/map_rendering_form.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/www/media/map_rendering_form.js b/www/media/map_rendering_form.js
index a6ea76d..634faae 100644
--- a/www/media/map_rendering_form.js
+++ b/www/media/map_rendering_form.js
@@ -109,9 +109,9 @@ function filterAllowedPaper(paperlist)
paper = $('label input[value]', item).val();
paperDef = getPaperDef(paperlist, paper);
if (paperDef != null) {
- $(item).bind('click',
- bindPaperClickCallback(filterAllowedOrientations,
- paperDef[3], paperDef[4]));
+ $('label', item).bind('click',
+
bindPaperClickCallback(filterAllowedOrientations,
+ paperDef[3],
paperDef[4]));
$(item).show();
}
else
--
1.7.0.4
- [Maposmatic-dev] [PATCH 1/8] Implement the paper orientation selection, Thomas Petazzoni, 2010/08/08
- [Maposmatic-dev] Re: [PATCH 1/8] Implement the paper orientation selection, Maxime Petazzoni, 2010/08/08
- [Maposmatic-dev] [PATCH 8/8] Put immediatly focus on the admin search box on page load, Thomas Petazzoni, 2010/08/08
- [Maposmatic-dev] [PATCH 7/8] Re-indent Javascript code to 2 spaces, Thomas Petazzoni, 2010/08/08
- [Maposmatic-dev] [PATCH 5/8] Support None/None initial paper size for the 'Best fit' case, Thomas Petazzoni, 2010/08/08
- [Maposmatic-dev] [PATCH 6/8] Completely rework the Nominatim search, Thomas Petazzoni, 2010/08/08
- [Maposmatic-dev] [PATCH 3/8] Update paper size in the 'Best fit' case, Thomas Petazzoni, 2010/08/08
- [Maposmatic-dev] [PATCH 4/8] Only handle click on the label instead on the full <li> element,
Thomas Petazzoni <=
- [Maposmatic-dev] [PATCH 2/8] Simplify preparePaperPanel() function, Thomas Petazzoni, 2010/08/08