Merge branch 'MDL-55322-master' of https://github.com/snake/moodle

This commit is contained in:
Eloy Lafuente (stronk7)
2016-08-03 00:12:10 +02:00
4 changed files with 7 additions and 4 deletions
@@ -2641,6 +2641,7 @@ var COMMENT = function(editor, gradeid, pageno, x, y, width, colour, rawtext) {
node.on('gesturemovestart', function(e) {
if (editor.currentedit.tool === 'select') {
e.preventDefault();
node.setData('dragging', true);
node.setData('offsetx', e.clientX - node.getX());
node.setData('offsety', e.clientY - node.getY());
File diff suppressed because one or more lines are too long
@@ -2641,6 +2641,7 @@ var COMMENT = function(editor, gradeid, pageno, x, y, width, colour, rawtext) {
node.on('gesturemovestart', function(e) {
if (editor.currentedit.tool === 'select') {
e.preventDefault();
node.setData('dragging', true);
node.setData('offsetx', e.clientX - node.getX());
node.setData('offsety', e.clientY - node.getY());
@@ -267,6 +267,7 @@ var COMMENT = function(editor, gradeid, pageno, x, y, width, colour, rawtext) {
node.on('gesturemovestart', function(e) {
if (editor.currentedit.tool === 'select') {
e.preventDefault();
node.setData('dragging', true);
node.setData('offsetx', e.clientX - node.getX());
node.setData('offsety', e.clientY - node.getY());