From 7142cee430a194cca1208ce4ebcd70ee892af1b9 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Tue, 25 Oct 2011 18:41:45 -0500 Subject: Refactored validation code. The validation code in details facet, dialog, and sections have been modified to work more consistently. --- install/ui/dialog.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'install/ui/dialog.js') diff --git a/install/ui/dialog.js b/install/ui/dialog.js index 41b35fb4..ff64b37c 100644 --- a/install/ui/dialog.js +++ b/install/ui/dialog.js @@ -66,7 +66,6 @@ IPA.dialog = function(spec) { that.height = spec.height; that.buttons = $.ordered_map(); - that.sections = $.ordered_map(); var init = function() { @@ -129,12 +128,14 @@ IPA.dialog = function(spec) { return that; }; - that.is_valid = function() { - for (var i=0; i