roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ghu...@apache.org
Subject svn commit: r1242525 - /roller/trunk/weblogger-webapp/src/main/webapp/WEB-INF/jsps/editor/MediaFileView.jsp
Date Thu, 09 Feb 2012 21:11:21 GMT
Author: ghuber
Date: Thu Feb  9 21:11:20 2012
New Revision: 1242525

URL: http://svn.apache.org/viewvc?rev=1242525&view=rev
Log:
Endless refresh loops in firefox.  Needs testing in other browsers..

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

Modified: roller/trunk/weblogger-webapp/src/main/webapp/WEB-INF/jsps/editor/MediaFileView.jsp
URL: http://svn.apache.org/viewvc/roller/trunk/weblogger-webapp/src/main/webapp/WEB-INF/jsps/editor/MediaFileView.jsp?rev=1242525&r1=1242524&r2=1242525&view=diff
==============================================================================
--- roller/trunk/weblogger-webapp/src/main/webapp/WEB-INF/jsps/editor/MediaFileView.jsp (original)
+++ roller/trunk/weblogger-webapp/src/main/webapp/WEB-INF/jsps/editor/MediaFileView.jsp Thu
Feb  9 21:11:20 2012
@@ -131,7 +131,8 @@
     function onEditSuccess() {
         $("#mediaFileEditor").attr('src','about:blank');
         YAHOO.mediaFileEditor.lightbox.hide();
-        window.location.reload();
+        //window.location.reload(true); Endless refresh loops in FF
+        window.parent.location = window.parent.location.href;
     }
 
     function onEditCancelled() {



Mime
View raw message