MDL-47494 ddmarker: NOBUG added code to reposition drags every 500ms

This commit is contained in:
Jamie Pratt
2011-11-10 12:41:23 +07:00
parent 054c1ce49a
commit 450ecdea9d
+1 -1
View File
@@ -143,7 +143,7 @@ YUI.add('moodle-qtype_ddmarker-dd', function(Y) {
},
after_image_load : function () {
this.reposition_drags();
Y.on('windowresize', this.reposition_drags, this);
Y.later(500, this, this.reposition_drags, [], true);
// if (!this.get('readonly')) {
// this.doc.drags().set('tabIndex', 0);
// this.doc.drags().each(