Closed Bug 729161 Opened 12 years ago Closed 8 years ago

Firefox Mobile Bug Render JQM Listview

Categories

(Firefox for Android Graveyard :: General, defect)

11 Branch
ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: jorge.londono, Unassigned)

Details

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.
if you need more information can contact me
Severity: normal → critical
OS: Windows 7 → Android
Product: Fennec Native → Firefox
Hardware: x86 → ARM
Version: Firefox 11 → 11 Branch
Summary: error render jqm listview → Firefox Mobile Bug Render JQM Listview
$("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
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
Closed: 8 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.