update dialog forms
This commit is contained in:
parent
02fd3db751
commit
76dd2768d2
6 changed files with 12 additions and 8 deletions
|
@ -4,9 +4,13 @@
|
|||
var metadataEditorInfo;
|
||||
var currentItem;
|
||||
|
||||
function isDialog() {
|
||||
return currentContext.classList.contains('dialog');
|
||||
}
|
||||
|
||||
function closeDialog(isSubmitted) {
|
||||
|
||||
if (currentContext.tagName == 'DIALOG') {
|
||||
if (isDialog()) {
|
||||
dialogHelper.close(currentContext);
|
||||
}
|
||||
}
|
||||
|
@ -463,7 +467,7 @@
|
|||
});
|
||||
|
||||
// For now this is only supported in dialog mode because we have a way of knowing when it closes
|
||||
if (currentContext.tagName == 'DIALOG') {
|
||||
if (isDialog()) {
|
||||
bindItemChanged(context);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue