summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2013-10-11 20:51:27 +0100
committerGreg Roach <fisharebest@gmail.com>2013-10-11 20:51:27 +0100
commitb1a18bf106daa7a1aab93f2817ee0a7c27dcd2b8 (patch)
treed75767f9e5b5c73db79c132cda06c1b2b741eb53 /includes
parentc991ee678d40045c315addb33cbe518c9ef5786f (diff)
downloadwebtrees-b1a18bf106daa7a1aab93f2817ee0a7c27dcd2b8.tar.gz
webtrees-b1a18bf106daa7a1aab93f2817ee0a7c27dcd2b8.tar.bz2
webtrees-b1a18bf106daa7a1aab93f2817ee0a7c27dcd2b8.zip
Style prefer target ? instead of # for forms - does not change URL
Diffstat (limited to 'includes')
-rw-r--r--includes/functions/functions_print.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/functions/functions_print.php b/includes/functions/functions_print.php
index a34e39adc3..00339f2004 100644
--- a/includes/functions/functions_print.php
+++ b/includes/functions/functions_print.php
@@ -938,7 +938,7 @@ function print_add_new_fact($id, $usedfacts, $type) {
$newRow = false;
echo '<tr><td class="descriptionbox">';
echo WT_I18N::translate('Add from clipboard'), '</td>';
- echo '<td class="optionbox wrap"><form method="get" name="newFromClipboard" action="#" onsubmit="return false;">';
+ echo '<td class="optionbox wrap"><form method="get" name="newFromClipboard" action="?" onsubmit="return false;">';
echo '<select id="newClipboardFact" name="newClipboardFact">';
}
$fact_type=WT_Gedcom_Tag::getLabel($fact['fact']);
@@ -1002,7 +1002,7 @@ function print_add_new_fact($id, $usedfacts, $type) {
echo WT_I18N::translate('Fact or event');
echo help_link('add_facts'), '</td>';
echo '<td class="optionbox wrap">';
- echo '<form method="get" name="newfactform" action="#" onsubmit="return false;">';
+ echo '<form method="get" name="newfactform" action="?" onsubmit="return false;">';
echo '<select id="newfact" name="newfact">';
foreach ($translated_addfacts as $fact=>$fact_name) {
echo '<option value="', $fact, '">', $fact_name, '</option>';