--- a/usr/src/java/vpanels/client/org/opensolaris/os/vp/client/swing/AppInstance.java Fri Sep 11 17:39:42 2009 -0700
+++ b/usr/src/java/vpanels/client/org/opensolaris/os/vp/client/swing/AppInstance.java Tue Sep 15 17:46:37 2009 -0400
@@ -155,7 +155,7 @@
@Override
public void run() {
try {
- closeInstance();
+ closeInstance(false);
} catch (ActionAbortedException ignore) {
}
}
@@ -186,14 +186,14 @@
}
@Override
- public void closeInstance() throws ActionAbortedException {
+ public void closeInstance(boolean isCancel) throws ActionAbortedException {
if (loginPane.isShowing()) {
throw new ActionAbortedException();
}
try {
// Unwind navigation stack to force user to handle pending changes
- navigator.goToAsyncAndWait(false, null);
+ navigator.goToAsyncAndWait(isCancel, null);
} catch (NavigationAbortedException e) {
throw new ActionAbortedException(e);