summaryrefslogtreecommitdiffstats
path: root/install/ui/test/widget_tests.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-10-26 01:20:35 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-10-27 13:48:17 +0000
commit725e2e46248ee9ab3dae9a523fcd6fda0bd0cff3 (patch)
treec089597fbd4cd9671b9362a6f0fcb9c5f8515df0 /install/ui/test/widget_tests.js
parent6af5755de595cc85b1f878710f834f43a23bf41c (diff)
downloadfreeipa.git-725e2e46248ee9ab3dae9a523fcd6fda0bd0cff3.tar.gz
freeipa.git-725e2e46248ee9ab3dae9a523fcd6fda0bd0cff3.tar.xz
freeipa.git-725e2e46248ee9ab3dae9a523fcd6fda0bd0cff3.zip
Merged widget's metadata and param_info.
The metadata and param_info attributes in widget have been merged because they are redundant. Ticket #1436
Diffstat (limited to 'install/ui/test/widget_tests.js')
-rw-r--r--install/ui/test/widget_tests.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/install/ui/test/widget_tests.js b/install/ui/test/widget_tests.js
index caf28edc..50a5f7d6 100644
--- a/install/ui/test/widget_tests.js
+++ b/install/ui/test/widget_tests.js
@@ -106,9 +106,9 @@ function text_tests(widget,input){
same(widget.is_dirty(),false, "Undo Clears is_dirty");
- var old_pattern = widget.param_info.pattern;
+ var old_pattern = widget.metadata.pattern;
- widget.param_info.pattern ='abc';
+ widget.metadata.pattern ='abc';
input.val('not right');
input.keyup();
same(widget.valid,false, 'Field is not valid');
@@ -122,7 +122,7 @@ function text_tests(widget,input){
same(widget.valid,true, 'Field is valid');
same(error_field.css('display'),'none','error field not visible');
- widget.param_info.pattern = old_pattern;
+ widget.metadata.pattern = old_pattern;
}