Fixed FELIX-3491 Better activity indication when pressing refresh/update bundle buttons 
https://issues.apache.org/jira/browse/FELIX-3491

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1330802 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole/src/main/resources/res/ui/bundles.js b/webconsole/src/main/resources/res/ui/bundles.js
index f8532eb..d316b38 100644
--- a/webconsole/src/main/resources/res/ui/bundles.js
+++ b/webconsole/src/main/resources/res/ui/bundles.js
@@ -20,6 +20,7 @@
 var bundlesBody     = false;
 var bundlesTemplate = false;
 var bundleOpError   = false;
+var bundleOpSuccess = false;
 
 function renderData( eventData, filter )  {
 	lastBundleData = eventData;
@@ -116,6 +117,11 @@
 		} else {
 			entrySetupState( b, _tr, id );
 		}
+		if ('refresh' == action || 'update' == action) {
+			bundleOpSuccess.dialog('open');
+			// TODO:
+			
+		}
 	}, 'json');
 	return false;
 }
@@ -218,6 +224,11 @@
 		width   : '80%'
 	});
 	bundleOpError.parent().addClass('ui-state-error');
+	bundleOpSuccess = $('#bundleOpSuccess').dialog({
+		autoOpen: false,
+		modal   : true,
+		width   : '80%'
+	});
 
 	// filter
 	$('.filterApply').click(function() {