|
|
@ -17,7 +17,8 @@ define([
|
|
|
|
var APP = {};
|
|
|
|
var APP = {};
|
|
|
|
|
|
|
|
|
|
|
|
$(function () {
|
|
|
|
$(function () {
|
|
|
|
// TODO race condition with contents() here
|
|
|
|
|
|
|
|
|
|
|
|
var andThen = function () {
|
|
|
|
var ifrw = $('#pad-iframe')[0].contentWindow;
|
|
|
|
var ifrw = $('#pad-iframe')[0].contentWindow;
|
|
|
|
var $iframe = $('#pad-iframe').contents();
|
|
|
|
var $iframe = $('#pad-iframe').contents();
|
|
|
|
var $form = $iframe.find('#upload-form');
|
|
|
|
var $form = $iframe.find('#upload-form');
|
|
|
@ -38,7 +39,6 @@ define([
|
|
|
|
|
|
|
|
|
|
|
|
var uploadMode = false;
|
|
|
|
var uploadMode = false;
|
|
|
|
|
|
|
|
|
|
|
|
var andThen = function () {
|
|
|
|
|
|
|
|
var $bar = $iframe.find('.toolbar-container');
|
|
|
|
var $bar = $iframe.find('.toolbar-container');
|
|
|
|
|
|
|
|
|
|
|
|
var secret;
|
|
|
|
var secret;
|
|
|
|