~mhaulo/mixxx/validate_playlist_and_crate_creation

Viewing all changes in revision 2617.

  • Committer: Mika Haulo
  • Date: 2010-12-29 17:55:12 UTC
  • Revision ID: mika@haulo.fi-20101229175512-zu0sgyytw8aqic7j
Added user input validation for playlist and crate creation.

* The user input is trimmed to get rid of any extra whitespace
* Empty names are not permitted
* Whitespace-only names are not permitted

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: