From a0f75f34c106bf888b1f4c41981b6de58dcaefee Mon Sep 17 00:00:00 2001
From: Jessica Wang
Date: Wed, 6 Oct 2010 11:12:12 -0700
Subject: [PATCH] new UI - VM Change Service Offering - pass vmId to
listServiceOffering if only one item (VM) is selected in middle menu.
---
.../classes/resources/resource.properties | 1 +
ui/new/index.jsp | 8 +++-
ui/new/scripts/cloud.core2.init.js | 9 ++++
ui/new/scripts/cloud.core2.instance.js | 41 ++++++++++++++-----
4 files changed, 48 insertions(+), 11 deletions(-)
diff --git a/client/WEB-INF/classes/resources/resource.properties b/client/WEB-INF/classes/resources/resource.properties
index 62da1566506..02c986fb4ea 100644
--- a/client/WEB-INF/classes/resources/resource.properties
+++ b/client/WEB-INF/classes/resources/resource.properties
@@ -51,6 +51,7 @@ no.available.iso = No Available ISO
your.session.has.expired = Your session has expired
internet.name.can.not.be.resolved = Internet name can not be resolved
management.server.is.not.accessible = Management server is not accessible
+please.select.at.least.one.item.in.middle.menu = Please select at least one item in middle menu
please.confirm.you.want.to.detach.an.iso.from.the.virtual.machine = Please confirm you want to detach an ISO from the virtual machine
please.specify.the.iso.you.wish.to.attach.to.virtual.machine = Please specify the ISO you wish to attach to virtual instance
please.specify.the.new.name.you.want.to.change.for.the.virtual.machine = Please specify the new name you want to change for the virtual instance
diff --git a/ui/new/index.jsp b/ui/new/index.jsp
index 5303377df36..fe8dc8bfcd4 100644
--- a/ui/new/index.jsp
+++ b/ui/new/index.jsp
@@ -554,7 +554,7 @@ long milliseconds = new Date().getTime();
-
+
@@ -577,6 +577,12 @@ long milliseconds = new Date().getTime();
+
+