From 5f0b60e49b3aa6d70aead3ac123e144eb3d7aa3a Mon Sep 17 00:00:00 2001 From: "yuhanx.xu" Date: Mon, 23 Sep 2013 17:12:52 +0800 Subject: [PATCH] Fix TTS-2015 by setting the button enable or unable as the code logic Signed-off-by: yuhanx.xu --- tests/Clipboard/js/main.js | 2 ++ tests/DragandDrop/js/main.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tests/Clipboard/js/main.js b/tests/Clipboard/js/main.js index d3c0f78..2817a8f 100644 --- a/tests/Clipboard/js/main.js +++ b/tests/Clipboard/js/main.js @@ -148,6 +148,8 @@ function uninstall() { }, oncomplete: function(packageId) { + $("#launch1").addClass("ui-disabled"); + $("#uninstall").addClass("ui-disabled"); console.log("Uninstallation(" + packageId + ") Complete"); } } diff --git a/tests/DragandDrop/js/main.js b/tests/DragandDrop/js/main.js index 2a1ae8c..88e0681 100644 --- a/tests/DragandDrop/js/main.js +++ b/tests/DragandDrop/js/main.js @@ -148,6 +148,8 @@ function uninstall() { }, oncomplete: function(packageId) { + $("#launch1").addClass("ui-disabled"); + $("#uninstall").addClass("ui-disabled"); console.log("Uninstallation(" + packageId + ") Complete"); } } -- 2.7.4