summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorMatthew Noorenberghe <github@matthew.noorenberghe.com>2014-02-23 18:47:15 -0800
committerMatthew Noorenberghe <github@matthew.noorenberghe.com>2014-02-24 00:15:50 -0800
commit23e7780113febafb4438d6159323ef20b5d6c756 (patch)
treef9b68f00430d73d2c561d8f6e8bf868bbd8b2cd4 /includes
parentbae417b38c8f056bc896bfdea3309c6628a7e520 (diff)
downloadwebtrees-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.php2
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&amp;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) {