summaryrefslogtreecommitdiff
path: root/libs/patch/0008-JQM-remove-auto-populated-right-arrow-button.patch
blob: f70c25c31cd76f7e51c75dd72d896dd662a8afa1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From c0960209ffd4540404d680331f54bdac872476ac Mon Sep 17 00:00:00 2001
From: wongi11.lee <wongi11.lee@samsung.com>
Date: Fri, 29 Jun 2012 14:25:03 +0900
Subject: [PATCH] JQM remove auto populated right-arrow button.

Change-Id: I57c6583aee484c8dedb4a49f12e9dfa2b1bf6b85
Signed-off-by: wongi11.lee <wongi11.lee@samsung.com>
---
 .../js/jquery.mobile.listview.js                   |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/libs/js/jquery-mobile-1.1.0/js/jquery.mobile.listview.js b/libs/js/jquery-mobile-1.1.0/js/jquery.mobile.listview.js
index f3fabfa..4ccdd73 100644
--- a/libs/js/jquery-mobile-1.1.0/js/jquery.mobile.listview.js
+++ b/libs/js/jquery-mobile-1.1.0/js/jquery.mobile.listview.js
@@ -188,6 +188,11 @@ $.widget( "mobile.listview", $.mobile.widget, {
 				if ( a.length ) {
 					icon = item.jqmData("icon");
 
+					/* Remove auto populated right-arrow button. */
+					if ( icon === undefined ) {
+						icon = false;
+					}
+
 					item.buttonMarkup({
 						wrapperEls: "div",
 						shadow: false,
-- 
1.7.0.4