Migrate from <object> to <iframe>. Objects seems to have some bugs in FF32.

This commit is contained in:
Bjoern Gruening
2014-10-18 18:38:04 -04:00
parent ffd3b10d5e
commit e2bf4ccb15
@@ -4,11 +4,11 @@
*/
function append_notebook(url){
$('#spinner').remove();
$('#main').append('<object data="' + url + '" height="95%" width="100%">'
+'<embed src="' + url + '" height="100%" width="100%"/></object>'
$('#main').append('<iframe frameBorder="0" seamless="seamless" style="width: 100%; height: 100%; overflow:hidden;" scrolling="no" src="'+ url +'"></iframe>'
);
}
function message_failed_auth(password){
toastr.info(
"Automatic authorization failed. You can manually login with:<br>" + password + "<br> <a href='https://github.com/bgruening/galaxy-ipython/wiki/Automatic-Authorization-Failed' target='_blank'>More details ...</a>",