don't allow empty blacklists either

pull/612/head
Justin Richer 11 years ago
parent 1a7de8cf29
commit e57adc048a

@ -341,6 +341,10 @@ var BlackListWidgetView = ListWidgetView.extend({
var input_value = $("input", this.el).val().trim();
if (input_value === "") {
return;
}
// TODO: URI/pattern validation, check against existing clients
var item = new BlackListModel({

Loading…
Cancel
Save