diff options
| author | makitso <makitso@gmail.com> | 2013-10-13 07:50:14 -0500 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2013-10-15 19:51:54 +0100 |
| commit | 2f53df7f389e12ea7a1ce8faabe26dd9a1959457 (patch) | |
| tree | dac5dfbb7a3fba6b5fedacd8f6b4005e6db3f971 /includes | |
| parent | a75474889c4b2a7e6175017941938bde56b4b454 (diff) | |
| download | webtrees-2f53df7f389e12ea7a1ce8faabe26dd9a1959457.tar.gz webtrees-2f53df7f389e12ea7a1ce8faabe26dd9a1959457.tar.bz2 webtrees-2f53df7f389e12ea7a1ce8faabe26dd9a1959457.zip | |
#1235888 - Unable to delete source from shared note
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/functions/functions_print_facts.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/functions/functions_print_facts.php b/includes/functions/functions_print_facts.php index 5bc5bbe361..c2788d9777 100644 --- a/includes/functions/functions_print_facts.php +++ b/includes/functions/functions_print_facts.php @@ -668,7 +668,7 @@ function print_main_sources(WT_Fact $fact, $level) { echo '<div class="editfacts">'; echo "<div class=\"editlink\"><a class=\"editicon\" onclick=\"return edit_record('$pid', '$fact_id');\" href=\"#\" title=\"".WT_I18N::translate('Edit')."\"><span class=\"link_text\">".WT_I18N::translate('Edit')."</span></a></div>"; echo '<div class="copylink"><a class="copyicon" href="#" onclick="jQuery.post(\'action.php\',{action:\'copy-fact\', type:\'\', factgedcom:\''.rawurlencode($factrec).'\'},function(){location.reload();})" title="'.WT_I18N::translate('Copy').'"><span class="link_text">'.WT_I18N::translate('Copy').'</span></a></div>'; - echo "<div class=\"deletelink\"><a class=\"deleteicon\" onclick=\"return delete_fact('$pid', '$fact_id', '', '".WT_I18N::translate('Are you sure you want to delete this fact?')."');\" href=\"#\" title=\"".WT_I18N::translate('Delete')."\"><span class=\"link_text\">".WT_I18N::translate('Delete')."</span></a></div>"; + echo "<div class=\"deletelink\"><a class=\"deleteicon\" onclick=\"return delete_fact('".WT_I18N::translate('Are you sure you want to delete this fact?')."', '$pid', '$fact_id');\" href=\"#\" title=\"".WT_I18N::translate('Delete')."\"><span class=\"link_text\">".WT_I18N::translate('Delete')."</span></a></div>"; echo '</div>'; } else { echo WT_Gedcom_Tag::getLabel($factname, $parent); @@ -1061,4 +1061,4 @@ function print_main_media(WT_Fact $fact, $level) { echo '</td></tr>'; } } -}
\ No newline at end of file +} |
