You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rave.apache.org by ja...@apache.org on 2012/04/28 10:35:38 UTC
svn commit: r1331708 -
/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/views/addwidget.jsp
Author: jasha
Date: Sat Apr 28 08:35:37 2012
New Revision: 1331708
URL: http://svn.apache.org/viewvc?rev=1331708&view=rev
Log:
RAVE-575 Add widget: link to Wookie instance is missing
Modified:
rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/views/addwidget.jsp
Modified: rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/views/addwidget.jsp
URL: http://svn.apache.org/viewvc/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/views/addwidget.jsp?rev=1331708&r1=1331707&r2=1331708&view=diff
==============================================================================
--- rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/views/addwidget.jsp (original)
+++ rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/views/addwidget.jsp Sat Apr 28 08:35:37 2012
@@ -87,12 +87,15 @@
<label class="control-label" for="type1"><fmt:message key="widget.type"/> *</label>
</div>
<div class="control-group">
- <label class="control-label" for="type1" class="formradio"><fmt:message key="widget.type.OpenSocial"/></label>
+ <label class="control-label" for="type1"><fmt:message key="widget.type.OpenSocial"/></label>
<div class="controls"><form:radiobutton path="type" value="OpenSocial"/></div>
</div>
<div class="control-group">
- <label class="control-label" for="type2" class="formradio"><fmt:message key="widget.type.W3C"/></label>
- <div class="controls"><form:radiobutton path="type" value="W3C"/></div>
+ <label class="control-label" for="type2"><fmt:message key="widget.type.W3C"/></label>
+
+ <div class="controls"><form:radiobutton path="type" value="W3C"/>
+ <a id="w3cBrowseLink" style="margin-left: 10px;" href="#"><fmt:message key="page.general.browse"/></a>
+ </div>
<form:errors path="type" cssClass="error"/>
</div>
@@ -201,10 +204,10 @@
<portal:register-init-script location="${'AFTER_RAVE'}">
<script>
$(function() {
- $('#addWidgetForm').hide();
- $('#addWidgetFormSubmit').hide();
+ $('#addWidgetForm').hide();
+ $('#addWidgetFormSubmit').hide();
$('#w3cBrowseLink').hide();
- $('input[name=type]:first').attr('checked', true);
+ $('input[name=type]:first').attr('checked', true);
$('input[name=type]').change(function(){
if($('input[name=type]:checked').val()=='W3C'){
$('#w3cBrowseLink').show();