mirror of https://github.com/apache/nifi.git
NIFI-12250: (#7908)
- Fixing issue where the registry configuration dialog was being initialized twice.
This commit is contained in:
parent
015b721800
commit
98eef74dd8
|
@ -1192,19 +1192,6 @@
|
|||
}
|
||||
}
|
||||
});
|
||||
|
||||
// initialize the registry configuration dialog
|
||||
$('#registry-configuration-dialog').modal({
|
||||
scrollableContentStyle: 'scrollable',
|
||||
handler: {
|
||||
close: function () {
|
||||
$('#registry-id-config').text('');
|
||||
$('#registry-name-config').val('');
|
||||
$('#registry-type-config').val('');
|
||||
$('#registry-description-config').val('');
|
||||
}
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -2504,19 +2491,6 @@
|
|||
}
|
||||
}
|
||||
});
|
||||
|
||||
// initialize the registry configuration dialog
|
||||
$('#registry-configuration-dialog').modal({
|
||||
scrollableContentStyle: 'scrollable',
|
||||
handler: {
|
||||
close: function () {
|
||||
$('#registry-id').text('');
|
||||
$('#registry-name').val('');
|
||||
$('#registry-location').val('');
|
||||
$('#registry-description').val('');
|
||||
}
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -3902,6 +3876,19 @@
|
|||
}
|
||||
});
|
||||
|
||||
// initialize the registry configuration dialog
|
||||
$('#registry-configuration-dialog').modal({
|
||||
scrollableContentStyle: 'scrollable',
|
||||
handler: {
|
||||
close: function () {
|
||||
$('#registry-id-config').text('');
|
||||
$('#registry-name-config').val('');
|
||||
$('#registry-type-config').val('');
|
||||
$('#registry-description-config').val('');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// initialize each tab
|
||||
initGeneral();
|
||||
nfControllerServices.init(getControllerServicesTable(), nfSettings.showSettings);
|
||||
|
|
Loading…
Reference in New Issue