mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
Merge branch 'master_MDL-44015' of https://github.com/greg-or/moodle-mod_assign
This commit is contained in:
commit
d3014cca39
4 changed files with 8 additions and 2 deletions
|
@ -3685,6 +3685,7 @@ EDITOR.prototype = {
|
|||
* @method edit_start
|
||||
*/
|
||||
edit_start : function(e) {
|
||||
e.preventDefault();
|
||||
var canvas = Y.one(SELECTOR.DRAWINGCANVAS),
|
||||
offset = canvas.getXY(),
|
||||
scrolltop = canvas.get('docScrollY'),
|
||||
|
@ -3754,6 +3755,7 @@ EDITOR.prototype = {
|
|||
* @method edit_move
|
||||
*/
|
||||
edit_move : function(e) {
|
||||
e.preventDefault();
|
||||
var bounds = this.get_canvas_bounds(),
|
||||
canvas = Y.one(SELECTOR.DRAWINGCANVAS),
|
||||
clientpoint = new M.assignfeedback_editpdf.point(e.clientX + canvas.get('docScrollX'),
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -3685,6 +3685,7 @@ EDITOR.prototype = {
|
|||
* @method edit_start
|
||||
*/
|
||||
edit_start : function(e) {
|
||||
e.preventDefault();
|
||||
var canvas = Y.one(SELECTOR.DRAWINGCANVAS),
|
||||
offset = canvas.getXY(),
|
||||
scrolltop = canvas.get('docScrollY'),
|
||||
|
@ -3754,6 +3755,7 @@ EDITOR.prototype = {
|
|||
* @method edit_move
|
||||
*/
|
||||
edit_move : function(e) {
|
||||
e.preventDefault();
|
||||
var bounds = this.get_canvas_bounds(),
|
||||
canvas = Y.one(SELECTOR.DRAWINGCANVAS),
|
||||
clientpoint = new M.assignfeedback_editpdf.point(e.clientX + canvas.get('docScrollX'),
|
||||
|
|
|
@ -680,6 +680,7 @@ EDITOR.prototype = {
|
|||
* @method edit_start
|
||||
*/
|
||||
edit_start : function(e) {
|
||||
e.preventDefault();
|
||||
var canvas = Y.one(SELECTOR.DRAWINGCANVAS),
|
||||
offset = canvas.getXY(),
|
||||
scrolltop = canvas.get('docScrollY'),
|
||||
|
@ -749,6 +750,7 @@ EDITOR.prototype = {
|
|||
* @method edit_move
|
||||
*/
|
||||
edit_move : function(e) {
|
||||
e.preventDefault();
|
||||
var bounds = this.get_canvas_bounds(),
|
||||
canvas = Y.one(SELECTOR.DRAWINGCANVAS),
|
||||
clientpoint = new M.assignfeedback_editpdf.point(e.clientX + canvas.get('docScrollX'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue