save listener for ab card does not work in add because of missing directory

NEW
Unassigned

Status

--
minor
8 years ago
8 years ago

People

(Reporter: rkent, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 years ago
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.