You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by gh...@apache.org on 2014/06/16 17:13:21 UTC
svn commit: r1602889 -
/roller/trunk/app/src/main/webapp/WEB-INF/jsps/editor/MediaFileView.jsp
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() {