roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r985004 - /roller/trunk/weblogger-web/src/main/webapp/WEB-INF/jsps/editor/TemplateEdit.jsp
Date Thu, 12 Aug 2010 21:58:25 GMT
Author: snoopdave
Date: Thu Aug 12 21:58:25 2010
New Revision: 985004

URL: http://svn.apache.org/viewvc?rev=985004&view=rev
Log:
Fix for https://issues.apache.org/jira/browse/ROL-1874

Broken launch link

Modified:
    roller/trunk/weblogger-web/src/main/webapp/WEB-INF/jsps/editor/TemplateEdit.jsp

Modified: roller/trunk/weblogger-web/src/main/webapp/WEB-INF/jsps/editor/TemplateEdit.jsp
URL: http://svn.apache.org/viewvc/roller/trunk/weblogger-web/src/main/webapp/WEB-INF/jsps/editor/TemplateEdit.jsp?rev=985004&r1=985003&r2=985004&view=diff
==============================================================================
--- roller/trunk/weblogger-web/src/main/webapp/WEB-INF/jsps/editor/TemplateEdit.jsp (original)
+++ roller/trunk/weblogger-web/src/main/webapp/WEB-INF/jsps/editor/TemplateEdit.jsp Thu Aug
12 21:58:25 2010
@@ -73,7 +73,7 @@
             if (originalLink != document.getElementById('template_bean_link').value) {
                 window.alert("Link changed, not launching page");
             } else {
-                window.open(weblogURL + '/page/' + originalLink, '_blank');
+                window.open(weblogURL + 'page/' + originalLink, '_blank');
             }
         }
         -->
@@ -85,7 +85,7 @@
                 <td class="field">
                     <s:textfield name="bean.link" size="50" onkeyup="updatePageURLDisplay()"
/>
                     <br />
-                    <s:property value="actionWeblog.absoluteURL" />/page/<span id="linkPreview"
style="color:red"><s:property value="bean.link" /></span>
+                    <s:property value="actionWeblog.absoluteURL" />page/<span id="linkPreview"
style="color:red"><s:property value="bean.link" /></span>
                     <s:if test="template.link != null">[<a id="launchLink" onClick="launchPage()"><s:text
name="pageForm.launch" /></a>]</s:if>
                 </td>
                 <td class="description"></td>



Mime
View raw message