[gen] Ref field: param 'link' can now be 'list' (ongoing work).

This commit is contained in:
Gaetan Delannay 2014-04-01 18:34:12 +02:00
parent 81a201dcad
commit 084f1f9a23
13 changed files with 400 additions and 222 deletions

View file

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 B