Fixed issue 366: Clone Fires Twice

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1074 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Alexis Deveria 2009-12-21 13:36:49 +00:00
parent dd7f85c380
commit 8f5f540b23
1 changed files with 2 additions and 4 deletions

View File

@ -2034,8 +2034,7 @@ function svg_edit_setup() {
{sel:'#tool_source_save', fn: saveSourceEditor, evt: 'click'}, {sel:'#tool_source_save', fn: saveSourceEditor, evt: 'click'},
{sel:'#tool_docprops_save', fn: saveDocProperties, evt: 'click'}, {sel:'#tool_docprops_save', fn: saveDocProperties, evt: 'click'},
{sel:'#tool_docprops', fn: showDocProperties, evt: 'click', key: [modKey+'I', true]}, {sel:'#tool_docprops', fn: showDocProperties, evt: 'click', key: [modKey+'I', true]},
{sel:'#tool_delete', fn: deleteSelected, evt: 'click', key: ['del/backspace', true]}, {sel:'#tool_delete,#tool_delete_multi', fn: deleteSelected, evt: 'click', key: ['del/backspace', true]},
{sel:'#tool_delete_multi', fn: deleteSelected, evt: 'click', key: ['del/backspace', true]},
{sel:'#tool_reorient', fn: reorientPath, evt: 'click'}, {sel:'#tool_reorient', fn: reorientPath, evt: 'click'},
{sel:'#tool_node_link', fn: linkControlPoints, evt: 'click'}, {sel:'#tool_node_link', fn: linkControlPoints, evt: 'click'},
{sel:'#tool_node_clone', fn: clonePathNode, evt: 'click'}, {sel:'#tool_node_clone', fn: clonePathNode, evt: 'click'},
@ -2045,8 +2044,7 @@ function svg_edit_setup() {
{sel:'#tool_topath', fn: convertToPath, evt: 'click'}, {sel:'#tool_topath', fn: convertToPath, evt: 'click'},
{sel:'#tool_undo', fn: clickUndo, evt: 'click', key: [modKey+'Z', true]}, {sel:'#tool_undo', fn: clickUndo, evt: 'click', key: [modKey+'Z', true]},
{sel:'#tool_redo', fn: clickRedo, evt: 'click', key: [modKey+'Y', true]}, {sel:'#tool_redo', fn: clickRedo, evt: 'click', key: [modKey+'Y', true]},
{sel:'#tool_clone', fn: clickClone, evt: 'click', key: [modKey+'C', true]}, {sel:'#tool_clone,#tool_clone_multi', fn: clickClone, evt: 'click', key: [modKey+'C', true]},
{sel:'#tool_clone_multi', fn: clickClone, evt: 'click', key: [modKey+'C', true]},
{sel:'#tool_group', fn: clickGroup, evt: 'click', key: [modKey+'G', true]}, {sel:'#tool_group', fn: clickGroup, evt: 'click', key: [modKey+'G', true]},
{sel:'#tool_ungroup', fn: clickGroup, evt: 'click'}, {sel:'#tool_ungroup', fn: clickGroup, evt: 'click'},
{sel:'[id^=tool_align]', fn: clickAlign, evt: 'click'}, {sel:'[id^=tool_align]', fn: clickAlign, evt: 'click'},