equal
deleted
inserted
replaced
68 }; |
68 }; |
69 if (_this.options.show_edge_editor_uri) { |
69 if (_this.options.show_edge_editor_uri) { |
70 _data.uri = _this.editor_$.find(".Rk-Edit-URI").val(); |
70 _data.uri = _this.editor_$.find(".Rk-Edit-URI").val(); |
71 } |
71 } |
72 if (_this.options.show_node_editor_style) { |
72 if (_this.options.show_node_editor_style) { |
73 var dash = _this.editor_$.find(".Rk-Edit-Dash").is(':checked'); |
73 var dash = _this.editor_$.find(".Rk-Edit-Dash").is(':checked'), |
74 _data.style = _.assign( ((_model.has("style") && _.clone(_model.get("style"))) || {}), {dash: dash}); |
74 arrow = _this.editor_$.find(".Rk-Edit-Arrow").is(':checked'); |
75 var arrow = _this.editor_$.find(".Rk-Edit-Arrow").is(':checked'); |
75 _data.style = _.assign( ((_model.has("style") && _.clone(_model.get("style"))) || {}), {dash: dash, arrow: arrow}); |
76 _data.style = _.assign( ((_model.has("style") && _.clone(_model.get("style"))) || {}), {arrow: arrow}); |
|
77 } |
76 } |
78 _this.editor_$.find(".Rk-Edit-Goto").attr("href",_data.uri || "#"); |
77 _this.editor_$.find(".Rk-Edit-Goto").attr("href",_data.uri || "#"); |
79 _model.set(_data); |
78 _model.set(_data); |
80 paper.view.draw(); |
79 paper.view.draw(); |
81 } else { |
80 } else { |