Update popup info and delete unuseful console log.
authorFan,Yugang <yugang.fan@intel.com>
Sun, 9 Jun 2013 05:01:02 +0000 (13:01 +0800)
committerFan,Yugang <yugang.fan@intel.com>
Sun, 9 Jun 2013 05:02:32 +0000 (13:02 +0800)
Change-Id: Iad4018e5b444351b70c124354f7076159d563a77

index.html
js/main.js

index c2b971a..b331944 100755 (executable)
@@ -60,9 +60,9 @@ Authors:
             <h1>Warning</h1>
         </div>
         <div data-role="content" data-theme="d" class="ui-corner-bottom ui-content">
-            <h3 class="ui-title">Please save result before exit.</h3>
-            <a href="javascript:SaveAndExit();" data-role="button" data-inline="true" data-theme="b">Save</a>
-            <a href="javascript:exitTest();" data-role="button" data-inline="true" data-theme="c">Exit</a>
+            <h3 class="ui-title">Do you want to save test result before exit.</h3>
+            <a href="javascript:SaveAndExit();" data-role="button" data-theme="c">Save</a>
+            <a href="javascript:exitTest();" data-role="button" data-theme="e">Exit</a>
         </div>
     </div>
 </div>
index 87b96ed..df9c7c1 100755 (executable)
@@ -268,7 +268,7 @@ function _mergeResult(tmpResult) {
                 noSupport[testAppcap] = true;
                 $(item).attr("result", "FAIL");
             }
+
             tmpResult.each(
                 function(order, tmpItem) {
                     if ($(item).attr("id") === $(tmpItem).attr("id")) {
@@ -295,7 +295,6 @@ function initTests() {
     updateFooterButton();
     loadTests();
     window.addEventListener('message', function(e) {
-        console.log(e.data);
         var jsonData = eval("("+e.data+")");
         if(jsonData.length > 0){
             recordResultToXML(jsonData[0].testname, jsonData[0].result);