Commit 0a363c3f authored by Sven Franck's avatar Sven Franck

removed console.logs

parent 982f4ff5
...@@ -8601,12 +8601,10 @@ $.widget( "mobile.table", $.mobile.widget, { ...@@ -8601,12 +8601,10 @@ $.widget( "mobile.table", $.mobile.widget, {
if( blocktally > 0){ if( blocktally > 0){
blocktally -= 1; blocktally -= 1;
} else { } else {
// Store "cells" data on header as a reference to all cells in the same column as this TH // Store "cells" data on header as a reference to all cells in the same column as this TH
if (create === undefined) { if (create === undefined) {
$(this).jqmData("cells",""); $(this).jqmData("cells","");
} }
// reload // reload
$( this ) $( this )
.jqmData( "cells", self.element.find( "tr" ).not( trs ).not( this ).children( sel ) ); .jqmData( "cells", self.element.find( "tr" ).not( trs ).not( this ).children( sel ) );
...@@ -8614,6 +8612,7 @@ $.widget( "mobile.table", $.mobile.widget, { ...@@ -8614,6 +8612,7 @@ $.widget( "mobile.table", $.mobile.widget, {
} }
}); });
}); });
// update table modes // update table modes
if (create === undefined) { if (create === undefined) {
this.element.trigger('tableupdate'); this.element.trigger('tableupdate');
...@@ -8793,7 +8792,7 @@ $.mobile.document.delegate( ":jqmData(role='table')", "tablecreate tableupdate", ...@@ -8793,7 +8792,7 @@ $.mobile.document.delegate( ":jqmData(role='table')", "tablecreate tableupdate",
} }
// refresh method // refresh method
self.refresh = function(){ self.update = function(){
$switchboard.find( "input" ).each( function(){ $switchboard.find( "input" ).each( function(){
if (this.checked) { if (this.checked) {
this.checked = $( this ).jqmData( "cells" ).eq(0).css( "display" ) === "table-cell"; this.checked = $( this ).jqmData( "cells" ).eq(0).css( "display" ) === "table-cell";
...@@ -8807,9 +8806,9 @@ $.mobile.document.delegate( ":jqmData(role='table')", "tablecreate tableupdate", ...@@ -8807,9 +8806,9 @@ $.mobile.document.delegate( ":jqmData(role='table')", "tablecreate tableupdate",
}); });
}; };
$.mobile.window.on( "throttledresize", self.refresh ); $.mobile.window.on( "throttledresize", self.update );
self.refresh(); self.update();
}); });
})( jQuery ); })( jQuery );
...@@ -9268,7 +9267,6 @@ $.widget("mobile.filterview", $.mobile.widget, { ...@@ -9268,7 +9267,6 @@ $.widget("mobile.filterview", $.mobile.widget, {
isCustomFilterCallback = container.options.filterCallback !== defaultFilterCallback; isCustomFilterCallback = container.options.filterCallback !== defaultFilterCallback;
if ( lastval && lastval === val ) { if ( lastval && lastval === val ) {
console.log("KILLED");
// Execute the handler only once per value change // Execute the handler only once per value change
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment