[gen] Improved performance of the Ref field and added an icon for dissociating referred objects.
This commit is contained in:
parent
872b77208b
commit
9954edf71a
9 changed files with 71 additions and 19 deletions
|
@ -318,6 +318,14 @@ function onDeleteObject(objectUid) {
|
|||
askConfirm('form', 'deleteForm', delete_confirm);
|
||||
}
|
||||
|
||||
function onUnlinkObject(sourceUid, fieldName, targetUid) {
|
||||
f = document.getElementById('unlinkForm');
|
||||
f.sourceUid.value = sourceUid;
|
||||
f.fieldName.value = fieldName;
|
||||
f.targetUid.value = targetUid;
|
||||
askConfirm('form', 'unlinkForm', unlink_confirm);
|
||||
}
|
||||
|
||||
function createCookie(name, value, days) {
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue