- allow to set targer field which is updated when closing the dialog

This commit is contained in:
steinm 2011-02-18 16:17:37 +00:00
parent 46134c1d6a
commit 1e4983a22b

View File

@ -33,13 +33,18 @@ foreach($allusers as $u) {
}
$categories = $dms->getAllKeywordCategories($userids);
if($_GET['target']) {
$target = $_GET['target'];
} else {
$target = 'form1';
}
UI::htmlStartPage(getMLText("use_default_keywords"));
?>
<script language="JavaScript">
var targetObj = opener.document.form1.keywords;
var targetObj = opener.document.<?= $target ?>;
var myTA;