diff --git a/lib/weblib.php b/lib/weblib.php index 0cecd60315a..b8bb95dbc33 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -326,7 +326,7 @@ function choose_from_menu ($options, $name, $selected="", $nothing="choose", $sc } } -function popup_form ($common, $options, $formname, $selected="", $nothing="choose", $help="", $helptext="", $return=false) { +function popup_form ($common, $options, $formname, $selected="", $nothing="choose", $help="", $helptext="", $return=false, $targetwindow="self") { /// Implements a complete little popup form /// $common = the URL up to the point of the variable that changes /// $options = A list of value-label pairs for the popup list @@ -343,7 +343,7 @@ function popup_form ($common, $options, $formname, $selected="", $nothing="choos } $startoutput = "