diff --git a/core-js/src/main/javascript/Point.js b/core-js/src/main/javascript/Point.js index 5e63eed6..0b4dd5e6 100644 --- a/core-js/src/main/javascript/Point.js +++ b/core-js/src/main/javascript/Point.js @@ -33,11 +33,12 @@ core.Point = new Class({ clone : function() { return new core.Point(this.x, this.y); - }, + } - fromString : - function(point) { - var values = point.split(','); - return new core.Point(values[0], values[1]); - } }); + +core.Point.fromString = function(point) { + var values = point.split(','); + return new core.Point(values[0], values[1]); + +}; \ No newline at end of file diff --git a/mindplot/src/main/javascript/commands/DragTopicCommand.js b/mindplot/src/main/javascript/commands/DragTopicCommand.js index 7fb632d4..a8ad74f8 100644 --- a/mindplot/src/main/javascript/commands/DragTopicCommand.js +++ b/mindplot/src/main/javascript/commands/DragTopicCommand.js @@ -78,10 +78,5 @@ mindplot.commands.DragTopicCommand = new Class({ undoExecute: function(commandContext) { this.execute(commandContext); - var selectedRelationships = commandContext.filterSelectedRelations(); - selectedRelationships.forEach(function(relationshipLine) { - relationshipLine.redraw(); - }); - } }); \ No newline at end of file diff --git a/wise-webapp/src/main/webapp/html/embedded.html b/wise-webapp/src/main/webapp/html/embedded.html index ebea5e4f..5bcbabb7 100644 --- a/wise-webapp/src/main/webapp/html/embedded.html +++ b/wise-webapp/src/main/webapp/html/embedded.html @@ -6,10 +6,13 @@
-