diff -r f67047a16084 -r fba23fde14ba client/js/renderer/nodeeditor.js --- a/client/js/renderer/nodeeditor.js Fri May 16 12:37:51 2014 +0200 +++ b/client/js/renderer/nodeeditor.js Fri May 16 14:09:57 2014 +0200 @@ -1,7 +1,7 @@ -"use strict"; define(['jquery', 'underscore', 'requtils', 'renderer/baseeditor'], function ($, _, requtils, BaseEditor) { - + 'use strict'; + var Utils = requtils.getUtils(); /* NodeEditor Begin */ @@ -10,26 +10,26 @@ _(NodeEditor.prototype).extend({ template: _.template( - '
<%-renkan.translate("Size:")%>-<%-node.size%>+
<% } %>' - + '<% if (options.show_node_editor_color) { %><%-renkan.translate("Created by:")%> <%- shortenText(node.created_by_title, 25) %>
<% } %>' + '<%-renkan.translate("Size:")%>-<%-node.size%>+
<% } %>' + + '<% if (options.show_node_editor_color) { %><%-renkan.translate("Created by:")%> <%- shortenText(node.created_by_title, 25) %>
<% } %>' ), readOnlyTemplate: _.template( - '<%-node.description%>
<% } %>' - + '<% if (node.image && options.show_node_tooltip_image) { %><%-renkan.translate("Created by:")%><%- shortenText(node.created_by_title, 25) %>
<% } %>' + '<%-node.description%>
<% } %>' + + '<% if (node.image && options.show_node_tooltip_image) { %><%-renkan.translate("Created by:")%><%- shortenText(node.created_by_title, 25) %>
<% } %>' ), draw: function() { var _model = this.source_representation.model, @@ -196,14 +196,14 @@ }, redraw: function() { var _coords = this.source_representation.paper_coords; - Utils.drawEditBox(this.options, _coords, this.editor_block, this.source_representation.circle_radius * .75, this.editor_$); + Utils.drawEditBox(this.options, _coords, this.editor_block, this.source_representation.circle_radius * 0.75, this.editor_$); this.editor_$.show(); paper.view.draw(); } }); /* NodeEditor End */ - + return NodeEditor; -}); \ No newline at end of file +});