abCardOverlay.js supports a save listener, which is added with RegisterSaveListener and called from NotifySaveListeners(directory). But during NewCardOKButton(), this is called using NotifySaveListeners(), and the missing directory causes the new card dialog to fail. This only occurs if a save listener is defined. This functionality is intended for extensions, and so this does not seem to cause any issues during normal operation.
You need to log in before you can comment on or make changes to this bug.