if( cb ) {
cb.call();
}
+ theSVG.attr( 'width', '100%' );
}
});
}
}
function show_stats( rs ) {
+ // Update the title
+ $('#stats_title').empty().text('Statistics for reading at ' + rs.id + ':' );
var rshtml = $('#stats_template').clone();
- rshtml.find('#statrank').append( rs.id );
if( "unsolved" in rs ) {
var nocalcmsg;
if( rs.unsolved == 'IDP error' ) {
rshtml.append( rdgstats.contents() );
});
}
- $('#row_statistics').empty();
- $('#row_statistics').append( rshtml.contents() );
+ $('#stats_container').empty().append( rshtml.contents() );
};
});
$('#options').dialog({
autoOpen: false,
- height: 200,
+ // height: 'auto',
width: 300,
modal: true,
buttons: {