From 4530af1bee2791048c95b88a4d5b3baf078201f6 Mon Sep 17 00:00:00 2001 From: Pranav Saxena Date: Sat, 29 Sep 2012 12:12:20 +0530 Subject: [PATCH] CloudStack-222:Admin UI prompts to restart Management server with cancel edit operation - Widget changes --- ui/scripts/ui/widgets/listView.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui/scripts/ui/widgets/listView.js b/ui/scripts/ui/widgets/listView.js index 883e86d8d32..5cc069df56a 100644 --- a/ui/scripts/ui/widgets/listView.js +++ b/ui/scripts/ui/widgets/listView.js @@ -468,7 +468,10 @@ }; if (args.cancel) { //click Cancel button - showLabel(); + // showLabel(); + $edit.hide(); + $label.fadeIn(); + $instanceRow.closest('div.data-table').dataTable('refresh'); return false; }