Merge branch 'MDL-42351-master' of git://github.com/damyon/moodle
Conflicts: mod/assign/feedback/editpdf/yui/build/moodle-assignfeedback_editpdf-editor/moodle-assignfeedback_editpdf-editor-min.js
This commit is contained in:
+3
@@ -1412,6 +1412,7 @@ Y.extend(ANNOTATIONSTAMP, M.assignfeedback_editpdf.annotation, {
|
||||
position = this.editor.get_window_coordinates(new M.assignfeedback_editpdf.point(this.x, this.y));
|
||||
node = Y.Node.create('<div/>');
|
||||
node.setStyles({
|
||||
'position': 'absolute',
|
||||
'display': 'inline-block',
|
||||
'backgroundImage': 'url(' + this.editor.get_stamp_image_url(this.path) + ')',
|
||||
'width': (this.endx - this.x),
|
||||
@@ -1454,6 +1455,7 @@ Y.extend(ANNOTATIONSTAMP, M.assignfeedback_editpdf.annotation, {
|
||||
|
||||
node = Y.Node.create('<div/>');
|
||||
node.setStyles({
|
||||
'position': 'absolute',
|
||||
'display': 'inline-block',
|
||||
'backgroundImage': 'url(' + this.editor.get_stamp_image_url(edit.stamp) + ')',
|
||||
'width': bounds.width,
|
||||
@@ -2316,6 +2318,7 @@ COMMENT = function(editor, gradeid, pageno, x, y, width, colour, rawtext) {
|
||||
});
|
||||
|
||||
drawingregion.append(container);
|
||||
container.setStyle('position', 'absolute');
|
||||
container.setX(position.x);
|
||||
container.setY(position.y);
|
||||
drawable.nodes.push(container);
|
||||
|
||||
+5
-5
File diff suppressed because one or more lines are too long
+3
@@ -1412,6 +1412,7 @@ Y.extend(ANNOTATIONSTAMP, M.assignfeedback_editpdf.annotation, {
|
||||
position = this.editor.get_window_coordinates(new M.assignfeedback_editpdf.point(this.x, this.y));
|
||||
node = Y.Node.create('<div/>');
|
||||
node.setStyles({
|
||||
'position': 'absolute',
|
||||
'display': 'inline-block',
|
||||
'backgroundImage': 'url(' + this.editor.get_stamp_image_url(this.path) + ')',
|
||||
'width': (this.endx - this.x),
|
||||
@@ -1454,6 +1455,7 @@ Y.extend(ANNOTATIONSTAMP, M.assignfeedback_editpdf.annotation, {
|
||||
|
||||
node = Y.Node.create('<div/>');
|
||||
node.setStyles({
|
||||
'position': 'absolute',
|
||||
'display': 'inline-block',
|
||||
'backgroundImage': 'url(' + this.editor.get_stamp_image_url(edit.stamp) + ')',
|
||||
'width': bounds.width,
|
||||
@@ -2316,6 +2318,7 @@ COMMENT = function(editor, gradeid, pageno, x, y, width, colour, rawtext) {
|
||||
});
|
||||
|
||||
drawingregion.append(container);
|
||||
container.setStyle('position', 'absolute');
|
||||
container.setX(position.x);
|
||||
container.setY(position.y);
|
||||
drawable.nodes.push(container);
|
||||
|
||||
@@ -44,6 +44,7 @@ Y.extend(ANNOTATIONSTAMP, M.assignfeedback_editpdf.annotation, {
|
||||
position = this.editor.get_window_coordinates(new M.assignfeedback_editpdf.point(this.x, this.y));
|
||||
node = Y.Node.create('<div/>');
|
||||
node.setStyles({
|
||||
'position': 'absolute',
|
||||
'display': 'inline-block',
|
||||
'backgroundImage': 'url(' + this.editor.get_stamp_image_url(this.path) + ')',
|
||||
'width': (this.endx - this.x),
|
||||
@@ -86,6 +87,7 @@ Y.extend(ANNOTATIONSTAMP, M.assignfeedback_editpdf.annotation, {
|
||||
|
||||
node = Y.Node.create('<div/>');
|
||||
node.setStyles({
|
||||
'position': 'absolute',
|
||||
'display': 'inline-block',
|
||||
'backgroundImage': 'url(' + this.editor.get_stamp_image_url(edit.stamp) + ')',
|
||||
'width': bounds.width,
|
||||
|
||||
@@ -189,6 +189,7 @@ COMMENT = function(editor, gradeid, pageno, x, y, width, colour, rawtext) {
|
||||
});
|
||||
|
||||
drawingregion.append(container);
|
||||
container.setStyle('position', 'absolute');
|
||||
container.setX(position.x);
|
||||
container.setY(position.y);
|
||||
drawable.nodes.push(container);
|
||||
|
||||
Reference in New Issue
Block a user