roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ghu...@apache.org
Subject svn commit: r1602889 - /roller/trunk/app/src/main/webapp/WEB-INF/jsps/editor/MediaFileView.jsp
Date Mon, 16 Jun 2014 15:13:21 GMT
Author: ghuber
Date: Mon Jun 16 15:13:21 2014
New Revision: 1602889

URL: http://svn.apache.org/r1602889
Log:
Fix for ROL-2007

Modified:
    roller/trunk/app/src/main/webapp/WEB-INF/jsps/editor/MediaFileView.jsp

Modified: roller/trunk/app/src/main/webapp/WEB-INF/jsps/editor/MediaFileView.jsp
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/webapp/WEB-INF/jsps/editor/MediaFileView.jsp?rev=1602889&r1=1602888&r2=1602889&view=diff
==============================================================================
--- roller/trunk/app/src/main/webapp/WEB-INF/jsps/editor/MediaFileView.jsp (original)
+++ roller/trunk/app/src/main/webapp/WEB-INF/jsps/editor/MediaFileView.jsp Mon Jun 16 15:13:21
2014
@@ -155,8 +155,11 @@
     function onEditSuccess() {
         $("#mediaFileEditor").attr('src','about:blank');
         YAHOO.mediaFileEditor.lightbox.hide();
-        //window.location.reload(true); Endless refresh loops in FF
-        window.parent.location = window.parent.location.href;
+        <%--
+        // window.location.reload(true); // Endless refresh loops in FF
+        // window.parent.location = window.parent.location.href + "?weblog="+<s:property
value="%{actionWeblog.handle}" />;
+        --%>
+        $("#mediaFileSearchForm").submit();
     }
 
     function onEditCancelled() {



Mime
View raw message