[gen] Ref field: param 'link' can now be 'list' (ongoing work).
This commit is contained in:
parent
81a201dcad
commit
084f1f9a23
13 changed files with 400 additions and 222 deletions
|
@ -464,6 +464,14 @@ function onUnlinkObject(sourceUid, fieldName, targetUid) {
|
|||
askConfirm('form', 'unlinkForm', action_confirm);
|
||||
}
|
||||
|
||||
function onLinkObject(sourceUid, fieldName, targetUid) {
|
||||
f = document.getElementById('linkForm');
|
||||
f.sourceUid.value = sourceUid;
|
||||
f.fieldName.value = fieldName;
|
||||
f.targetUid.value = targetUid;
|
||||
f.submit();
|
||||
}
|
||||
|
||||
function onUnlockPage(objectUid, pageName) {
|
||||
f = document.getElementById('unlockForm');
|
||||
f.objectUid.value = objectUid;
|
||||
|
|
BIN
gen/ui/link.png
Normal file
BIN
gen/ui/link.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 234 B |
Loading…
Add table
Add a link
Reference in a new issue