0
0
mirror of https://github.com/Doodle3D/doodle3d-connect.git synced 2024-12-25 01:53:48 +01:00

Fixed query mobile render issue

This commit is contained in:
peteruithoven 2014-04-28 16:55:33 +02:00
parent c10eeb4fe4
commit 93ee803ec9

View File

@ -39,9 +39,7 @@ var BoxesPage = (function (w) {
d3d.util.showLoader(true); d3d.util.showLoader(true);
} }
function onListUpdated(boxesData) { function onListUpdated(boxesData) {
console.log("onListUpdated: ",boxesData); //console.log("onListUpdated: ",boxesData);
_list.append(_findItem); // make sure find is the last item
_list.listview('refresh'); // jQuery mobile enhance content
} }
function onBoxAppeared(boxData) { function onBoxAppeared(boxData) {
console.log("onBoxAppeared: ",boxData.localip); console.log("onBoxAppeared: ",boxData.localip);
@ -55,6 +53,8 @@ var BoxesPage = (function (w) {
var box = $("<li id='"+id+"' class='box'></li>"); var box = $("<li id='"+id+"' class='box'></li>");
box.append(linkElement); box.append(linkElement);
box.hide().appendTo(_list).fadeIn(500); box.hide().appendTo(_list).fadeIn(500);
_list.append(_findItem); // make sure find is the last item
_list.listview('refresh'); // jQuery mobile enhance content
} }
function onBoxDisapeared(boxData) { function onBoxDisapeared(boxData) {
console.log("onBoxDisapeared: ",boxData.localip); console.log("onBoxDisapeared: ",boxData.localip);