mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Move null_option to DynamicModelChoiceMixin
This commit is contained in:
@@ -247,7 +247,7 @@ $(document).ready(function() {
|
||||
if (element.getAttribute('data-null-option') && data.previous === null) {
|
||||
results.unshift({
|
||||
id: 'null',
|
||||
text: 'None'
|
||||
text: element.getAttribute('data-null-option')
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user