MBS-7556: Fix URL cleanup on edit URL pages

Merged
#963 · Created  · Last updated

Description

The URLCleanup function used to take a Knockout observable errorObservable as a parameter and had a default to always yield the empty string when the parameter was null. This has changed to an errorCallback function, but there was no default for it. Therefore, the edit URL page that didn’t provide a callback caused a type error, and the cleanup code didn’t run.

This commit reinstates the previous behaviour: If no callback is given, it defaults to a function always returning the empty string.

0 attachments

0 comments

Loading commits...