Firefox Mobile Bug Render JQM Listview

RESOLVED INCOMPLETE

Status

()

RESOLVED INCOMPLETE
7 years ago
3 years ago

People

(Reporter: jorge.londono, Unassigned)

Tracking

11 Branch
ARM
Android
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
User Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11

Steps to reproduce:

Firefox Mobile v 11 for Android not render correctly listview element, when dynamically create or modify buttons into "li" tag element, or when change background attribute of "li" element.


Actual results:

In JQM listview i can create buttons in any "li" element of "ul", Firefox Mobile dont render this changes in dom. In firefox v 13 this works....


Expected results:

When i change attributes in "li" element of listview, using JQM, firefox mobile should refresh changes in "li" tag element.
(Reporter)

Comment 1

7 years ago
if you need more information can contact me
Severity: normal → critical
Component: General → General
OS: Windows 7 → Android
Product: Fennec Native → Firefox
Hardware: x86 → ARM
Version: Firefox 11 → 11 Branch
(Reporter)

Updated

7 years ago
Summary: error render jqm listview → Firefox Mobile Bug Render JQM Listview
(Reporter)

Comment 2

7 years ago
$("a.mainButton").die("click");
		$("a.mainButton").live("click", function(event) {
			atenea.sfa.hideNotification();
			
			event.preventDefault();
			event.stopPropagation();
			
			menu = $(this).data("menu");
			submenu = $(this).data("submenu");
			//$element.show();
			/*console.log(menu);
			console.log(submenu);*/
			
			atenea.cuenta.id = $(this).data("id");
			//$("ul#ulCuentas").find("li div.ui-btn-text").removeClass("ui-btn-active");
			
			$("ul#ulCuentas").find("li").removeClass("ui-btn-active");
			$("ul#ulCuentas").hide();
			var $listaActual = $(this).parents(":eq(2)");
			//listaActual.hide();
			$listaActual.addClass("ui-btn-active");
			
			/* Mostrar Botones */
			$("ul#ulCuentas li div.divButton").hide();
						
			$panels = $("ul#ulCuentas li").find("div.divButton");			
			$panels.remove();
			
			oData = {id:$(this).data("id")};
			$("#templateButtons").tmpl(oData).appendTo($listaActual);
			$divButton = $(this).parent().find("div.divButton");			
			$divButton.hide();
			$divButton.show(1);
			
			//listaActual.show(1);
			$("ul#ulCuentas").trigger("create");			
			$("ul#ulCuentas").show(1);
			
			//console.log($listaActual.offset().top);
			
			goScrollToElement("div#menuContent", this);
			
			//console.log(currentScrollTop);
			//$("div#menuContent").animate({scrollTop: this.id}, 1000);
			//element_to_scroll_to = document.getElementById($(this).attr("id"));
			//console.log(this);
			//this.scrollIntoView(false);

			//$(this).parent().addClass("ui-btn-active");
			$.mobile.changePage( this.href );
		});

This is the code that does not work, need hide and display the list for render list
Please attach a working testcase with the "add an attachment" link.
Why do you changed the Product from Fennec (Firefox mobile) to Firefox (Desktop) ?
Severity: critical → normal

Updated

3 years ago
Component: General → General
Product: Firefox → Firefox for Android
Version: 11 Branch → Firefox 11
Old bug without a testcase. One was requested 4 years ago, has not materialized.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.