X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fui%2Fui_input.inc;h=f1fb3691c1d6d45914a4b602ac49e6e0f0001e99;hb=0ad69edb5561aac03a5af49286c37b3350307719;hp=65ac068fd5acea5f2850e137973a53e05057a085;hpb=5ceece3a1a031ad1dbfbcb11d3aabfca97a56f6b;p=fa-stable.git diff --git a/includes/ui/ui_input.inc b/includes/ui/ui_input.inc index 65ac068f..f1fb3691 100644 --- a/includes/ui/ui_input.inc +++ b/includes/ui/ui_input.inc @@ -53,7 +53,9 @@ function simple_page_mode($numeric_id = true) foreach (array('Edit', 'Delete') as $m) { foreach ($_POST as $p => $pvar) { if (strpos($p, $m) === 0) { - $selected_id = substr($p, strlen($m)); +// $selected_id = strtr(substr($p, strlen($m)), array('%2E'=>'.')); + unset($_POST['_focus']); // focus on first form entry + $selected_id = quoted_printable_decode(substr($p, strlen($m))); $Ajax->activate('_page_body'); $Mode = $m; return;