You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by sn...@apache.org on 2010/08/12 23:58:25 UTC

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

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>