Fix TTS-2009 by enable the Pass button
authoryuhanx.xu <yuhanx.xu@intel.com>
Thu, 12 Sep 2013 09:24:57 +0000 (17:24 +0800)
committerwanmingx.lin <wanmingx.lin@intel.com>
Fri, 13 Sep 2013 04:27:33 +0000 (12:27 +0800)
Signed-off-by: yuhanx.xu <yuhanx.xu@intel.com>
tests/PackageManagement/js/tests.js

index 78f0cd9..220ba53 100644 (file)
@@ -53,6 +53,7 @@ $(document).ready(function(){
 
     $('#uninstall').addClass("ui-disabled");
     $('#launch').addClass("ui-disabled");
+    DisablePassButton();
 
     if(jQuery.inArray(wgt_name, update_wgt) != -1){
         $("#launch").bind("vclick", function() {
@@ -79,7 +80,6 @@ $(document).ready(function(){
     }
     packagePre(wgt_name);
     updateFooterButton();
-    DisablePassButton();
 });
 
 var packageEventCallback = {