diff --git a/question/type/ddimageortext/yui/dd/dd.js b/question/type/ddimageortext/yui/dd/dd.js index 32c199795ef..0d21ec45d81 100644 --- a/question/type/ddimageortext/yui/dd/dd.js +++ b/question/type/ddimageortext/yui/dd/dd.js @@ -38,7 +38,7 @@ YUI.add('moodle-qtype_ddimagetoimage-dd', function(Y) { } else if (this.polltimer === null) { var pollarguments = [null, waitforimageconstrain, pause, doafterwords]; this.polltimer = - Y.later(500, this, this.poll_for_image_load, pollarguments, true); + Y.later(1000, this, this.poll_for_image_load, pollarguments, true); } }, /** diff --git a/question/type/ddimageortext/yui/form/form.js b/question/type/ddimageortext/yui/form/form.js index 28b1ac814f1..039bd633622 100644 --- a/question/type/ddimageortext/yui/form/form.js +++ b/question/type/ddimageortext/yui/form/form.js @@ -40,9 +40,9 @@ YUI.add('moodle-qtype_ddimagetoimage-form', function(Y) { this.doc.drag_image_homes() .on('load', this.constrain_image_size, this, 'dragimage'); this.doc.bg_img().after('load', this.poll_for_image_load, this, - true, 1000, this.after_all_images_loaded); + true, 3000, this.after_all_images_loaded); this.doc.drag_image_homes() .after('load', this.poll_for_image_load, this, - true, 1000, this.after_all_images_loaded); + true, 3000, this.after_all_images_loaded); } else { this.setup_form_events(); }