[Carbon-commits] [Carbon] svn commit r92958 - trunk/carbon/components/csg/org.wso2.carbon.cloud.csg.agent.ui/src/main/resources/web/csg
rajika at wso2.com
rajika at wso2.com
Fri Apr 29 00:26:29 PDT 2011
Author: rajika
Date: Fri Apr 29 00:26:29 2011
New Revision: 92958
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=92958
Log:
Fixed CARBON-9518.
Modified:
trunk/carbon/components/csg/org.wso2.carbon.cloud.csg.agent.ui/src/main/resources/web/csg/extra-ui_ajaxprocessor.jsp
Modified: trunk/carbon/components/csg/org.wso2.carbon.cloud.csg.agent.ui/src/main/resources/web/csg/extra-ui_ajaxprocessor.jsp
URL: http://wso2.org/svn/browse/wso2/trunk/carbon/components/csg/org.wso2.carbon.cloud.csg.agent.ui/src/main/resources/web/csg/extra-ui_ajaxprocessor.jsp?rev=92958&r1=92957&r2=92958&view=diff
==============================================================================
--- trunk/carbon/components/csg/org.wso2.carbon.cloud.csg.agent.ui/src/main/resources/web/csg/extra-ui_ajaxprocessor.jsp (original)
+++ trunk/carbon/components/csg/org.wso2.carbon.cloud.csg.agent.ui/src/main/resources/web/csg/extra-ui_ajaxprocessor.jsp Fri Apr 29 00:26:29 2011
@@ -26,7 +26,7 @@
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib uri="http://wso2.org/projects/carbon/taglibs/carbontags.jar" prefix="carbon" %>
-<script type="text/javascript" src="../resources/js/resource_util.js"></script>
+<%--<script type="text/javascript" src="../resources/js/resource_util.js"></script>--%>
<%
boolean isPublished = false;
@@ -72,8 +72,8 @@
%>
<fmt:bundle basename="org.wso2.carbon.cloud.csg.agent.ui.i18n.Resources">
-<tr><td> </td></tr>
-<table class="styledLeft" id="serviceStatsTable" width="100%" style="margin-left: 0px;">
+<tr><td> </td></tr>
+<table class="styledLeft" id="csgTable" width="100%" style="margin-left: 0px;">
<thead>
<tr>
<th colspan="2" align="left"><fmt:message key="csg.configuration"/></th>
@@ -87,7 +87,8 @@
<%
if(serverBeans != null) {
%>
- <select id="publish_to_csg_server_selector" style="margin-top: 2px ! important;" onchange="changeServiceState('<%=serviceName%>','publish');return false;">
+ <label for="publish_to_csg_server_selector"></label>
+ <select id="publish_to_csg_server_selector" style="margin-top: 2px ! important;" onchange="changeCloudService('<%=serviceName%>','publish');return false;">
<option value="choose-server" id="default-value" selected="true"><fmt:message key="csg.select.server"/> </option>
<%
for (CSGServerBean serverBean : serverBeans) {
@@ -107,12 +108,12 @@
</td>
<td id="unPublishFromCSG<%=serviceName%>" style="<%=unPublishedTRStyle%>" colspan="2">
<div id="rotating_indicator_id2" style="display:none;position: absolute;margin-top:35px;margin-left:-5px;padding-left:20px;background:transparent url(../csg/images/loading-small.gif) no-repeat left top;"><fmt:message key="csg.unpublishing"/></div>
- <a href="#" class="icon-link-nofloat" style="background-image: url(../csg/images/publish.png);" onclick="changeServiceState('<%=serviceName%>','unpublish');return false;"><fmt:message key="csg.unpublish"/></a>
+ <a href="#" class="icon-link-nofloat" style="background-image: url(../csg/images/publish.png);" onclick="changeCloudService('<%=serviceName%>','unpublish');return false;"><fmt:message key="csg.unpublish"/></a>
</td>
</tr>
</table>
-<script type="text/javascript" src="../carbon/global-params.js"></script>
+<%--<script type="text/javascript" src="../carbon/global-params.js"></script>--%>
<script type="text/javascript">
jQuery(document).ready(function() {
@@ -141,7 +142,7 @@
document.getElementById(id).style.display = "none";
}
- function changeServiceState(){
+ function changeCloudService(){
var mode = arguments[1];
if(mode == 'publish'){
var serverName = document.getElementById('publish_to_csg_server_selector').value;
More information about the Carbon-commits
mailing list