client/js/renderer/edgeeditor.js
changeset 466 884b35feb04b
parent 461 48235ed6b07d
child 625 4d67ae41b9b3
--- a/client/js/renderer/edgeeditor.js	Tue Jun 09 17:30:58 2015 +0200
+++ b/client/js/renderer/edgeeditor.js	Wed Jun 10 12:46:28 2015 +0200
@@ -70,10 +70,9 @@
                                 _data.uri = _this.editor_$.find(".Rk-Edit-URI").val();
                             }
                             if (_this.options.show_node_editor_style) {
-                                var dash = _this.editor_$.find(".Rk-Edit-Dash").is(':checked');
-                                _data.style = _.assign( ((_model.has("style") && _.clone(_model.get("style"))) || {}), {dash: dash});
-                                var arrow = _this.editor_$.find(".Rk-Edit-Arrow").is(':checked');
-                                _data.style = _.assign( ((_model.has("style") && _.clone(_model.get("style"))) || {}), {arrow: arrow});
+                                var dash = _this.editor_$.find(".Rk-Edit-Dash").is(':checked'),
+                                    arrow = _this.editor_$.find(".Rk-Edit-Arrow").is(':checked');
+                                _data.style = _.assign( ((_model.has("style") && _.clone(_model.get("style"))) || {}), {dash: dash, arrow: arrow});
                             }
                             _this.editor_$.find(".Rk-Edit-Goto").attr("href",_data.uri || "#");
                             _model.set(_data);