diff options
| author | Matthew Noorenberghe <github@matthew.noorenberghe.com> | 2014-02-23 18:47:15 -0800 |
|---|---|---|
| committer | Matthew Noorenberghe <github@matthew.noorenberghe.com> | 2014-02-24 00:15:50 -0800 |
| commit | 23e7780113febafb4438d6159323ef20b5d6c756 (patch) | |
| tree | f9b68f00430d73d2c561d8f6e8bf868bbd8b2cd4 /includes | |
| parent | bae417b38c8f056bc896bfdea3309c6628a7e520 (diff) | |
| download | webtrees-23e7780113febafb4438d6159323ef20b5d6c756.tar.gz webtrees-23e7780113febafb4438d6159323ef20b5d6c756.tar.bz2 webtrees-23e7780113febafb4438d6159323ef20b5d6c756.zip | |
Switch print_editnote_link to use edit_note
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/functions/functions_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/functions/functions_edit.php b/includes/functions/functions_edit.php index 8570deb32b..ff3fb2876c 100644 --- a/includes/functions/functions_edit.php +++ b/includes/functions/functions_edit.php @@ -325,7 +325,7 @@ function print_addnewnote_link($element_id) { } function print_editnote_link($note_id) { - return '<a href="#" onclick="var win02=window.open(\'edit_interface.php?action=editnote&xref='.$note_id.'\', \'win02\', edit_window_specs);" class="icon-button_note" title="'.WT_I18N::translate('Edit shared note').'"></a>'; + return '<a href="#" onclick="edit_note(\''.$note_id.'\'); return false;" class="icon-button_note" title="'.WT_I18N::translate('Edit shared note').'"></a>'; } function print_addnewsource_link($element_id) { |
