roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r916903 - /roller/trunk/weblogger-web/src/main/webapp/WEB-INF/jsps/editor/MediaFileImageChooser.jsp
Date Sat, 27 Feb 2010 03:16:50 GMT
Author: snoopdave
Date: Sat Feb 27 03:15:42 2010
New Revision: 916903

URL: http://svn.apache.org/viewvc?rev=916903&view=rev
Log:
Fixes "MediaFileImageChooser.jsp does not render the thumbnail / picture URLs correctly"
https://issues.apache.org/jira/browse/ROL-1851

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

Modified: roller/trunk/weblogger-web/src/main/webapp/WEB-INF/jsps/editor/MediaFileImageChooser.jsp
URL: http://svn.apache.org/viewvc/roller/trunk/weblogger-web/src/main/webapp/WEB-INF/jsps/editor/MediaFileImageChooser.jsp?rev=916903&r1=916902&r2=916903&view=diff
==============================================================================
--- roller/trunk/weblogger-web/src/main/webapp/WEB-INF/jsps/editor/MediaFileImageChooser.jsp
(original)
+++ roller/trunk/weblogger-web/src/main/webapp/WEB-INF/jsps/editor/MediaFileImageChooser.jsp
Sat Feb 27 03:15:42 2010
@@ -153,10 +153,10 @@
                         onmouseover="highlight(this, true)" onmouseout="highlight(this, false)">
 
                         <s:url id="mediaFileURL" includeContext="false"
-                            value="/%{#mediaFile.permalink"></s:url>
+                            value="%{#mediaFile.permalink}"></s:url>
 
                         <s:url id="mediaFileThumbnailURL"
-                            value="/%{#mediaFile.thumbnailURL"></s:url>
+                            value="%{#mediaFile.thumbnailURL}"></s:url>
 
                     <div class="mediaObject"
                          onclick="onSelectImage('<s:property value="#mediaFile.name"/>','<s:property
value="%{mediaFileURL}" />')" >
@@ -197,7 +197,7 @@
 <script type="text/javascript">
 <!--
     function onSelectImage(name, url) {
-        window.parent.onSelectImage(name, '<s:property value="absoluteSiteURL" />'
+ url);
+        window.parent.onSelectImage(name, url);
     }
 -->
 </script>



Mime
View raw message