mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 20:21:16 +00:00
- allow to set targer field which is updated when closing the dialog
This commit is contained in:
parent
46134c1d6a
commit
1e4983a22b
|
@ -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;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user