Browse Source

Bug fix for Firefox iframe

pull/75/head
Zach Wise 13 years ago
parent
commit
51d86a9092
  1. 2
      locale/de.js
  2. 2
      locale/en.js
  3. 2
      locale/es.js
  4. 2
      locale/fr.js
  5. 2
      locale/is.js
  6. 2
      locale/it.js
  7. 2
      locale/kr.js
  8. 2
      locale/nl.js
  9. 2
      locale/pt-br.js
  10. 2
      locale/zh-ch.js
  11. 2
      locale/zh-tw.js
  12. 4
      source/js/VMM.ExternalAPI.js
  13. 2
      timeline-min.js
  14. 4
      timeline.js

2
locale/de.js

File diff suppressed because one or more lines are too long

2
locale/en.js

File diff suppressed because one or more lines are too long

2
locale/es.js

File diff suppressed because one or more lines are too long

2
locale/fr.js

File diff suppressed because one or more lines are too long

2
locale/is.js

File diff suppressed because one or more lines are too long

2
locale/it.js

File diff suppressed because one or more lines are too long

2
locale/kr.js

File diff suppressed because one or more lines are too long

2
locale/nl.js

File diff suppressed because one or more lines are too long

2
locale/pt-br.js

File diff suppressed because one or more lines are too long

2
locale/zh-ch.js

File diff suppressed because one or more lines are too long

2
locale/zh-tw.js

File diff suppressed because one or more lines are too long

4
source/js/VMM.ExternalAPI.js

@ -482,9 +482,9 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
creatDoc: function(doc) {
var mediaElem = "";
if (doc.url.match(/docs.google.com/i)) {
mediaElem = "<iframe class='doc' frameborder='0' width='100%' height='100%' src='" + doc.url + "&embedded=true'></iframe>";
mediaElem = "<iframe class='doc' frameborder='0' width='100%' height='100%' src='" + doc.url + "&amp;embedded=true'></iframe>";
} else {
mediaElem = "<iframe class='doc' frameborder='0' width='100%' height='100%' src='http://docs.google.com/viewer?url=" + doc.url + "&embedded=true'></iframe>";
mediaElem = "<iframe class='doc' frameborder='0' width='100%' height='100%' src='http://docs.google.com/viewer?url=" + doc.url + "&amp;embedded=true'></iframe>";
}
VMM.attachElement("#"+doc.id, mediaElem);
},

2
timeline-min.js vendored

File diff suppressed because one or more lines are too long

4
timeline.js

@ -2723,9 +2723,9 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
creatDoc: function(doc) {
var mediaElem = "";
if (doc.url.match(/docs.google.com/i)) {
mediaElem = "<iframe class='doc' frameborder='0' width='100%' height='100%' src='" + doc.url + "&embedded=true'></iframe>";
mediaElem = "<iframe class='doc' frameborder='0' width='100%' height='100%' src='" + doc.url + "&amp;embedded=true'></iframe>";
} else {
mediaElem = "<iframe class='doc' frameborder='0' width='100%' height='100%' src='http://docs.google.com/viewer?url=" + doc.url + "&embedded=true'></iframe>";
mediaElem = "<iframe class='doc' frameborder='0' width='100%' height='100%' src='http://docs.google.com/viewer?url=" + doc.url + "&amp;embedded=true'></iframe>";
}
VMM.attachElement("#"+doc.id, mediaElem);
},

Loading…
Cancel
Save