Prevent the Nested Content item picker from crashing when hitting enter on "add content" twice
This commit is contained in:
@@ -134,7 +134,7 @@
|
||||
};
|
||||
|
||||
vm.openNodeTypePicker = function ($event) {
|
||||
if (vm.nodes.length >= vm.maxItems) {
|
||||
if (vm.overlayMenu || vm.nodes.length >= vm.maxItems) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user