From 332fe282be6ef97a5cc86a0878f07f671adfc8eb Mon Sep 17 00:00:00 2001 From: Michael Jett Date: Wed, 29 Aug 2012 14:40:23 -0400 Subject: [PATCH] List Widget UI values cannot be null --- openid-connect-server/src/main/webapp/resources/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openid-connect-server/src/main/webapp/resources/js/app.js b/openid-connect-server/src/main/webapp/resources/js/app.js index 510a44e1c..c968e36e9 100644 --- a/openid-connect-server/src/main/webapp/resources/js/app.js +++ b/openid-connect-server/src/main/webapp/resources/js/app.js @@ -83,7 +83,7 @@ model = new URIModel({item:input_value}); } else { model = new Backbone.Model({item:input_value}); - model.validate = function() {}; + model.validate = function() { if(!this.get("item")) return "value can't be null" }; } // if it's valid and doesn't already exist