silverstripe/sapphire — pull request #556 by hafriedlander (2012-06-21 02:21:02+00:00)
Title: Trac/7494

When adding media via the HtmlEditorField dialog, the value of the URL field wasnt being validated. You'd get different errors depending on if the field was empty or if it had text, but it didnt look like an absolute URL to HtmlEditorField#viewfile.

This adds some javascript validation to make the text field look like a URL field