wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r19968: LJSV-1777: Unable to upload more than on...

Committer: wisest-owl
LJSV-1777: Unable to upload more than one image per entry through RTE

U   trunk/htdocs/imguploadrte.bml
Modified: trunk/htdocs/imguploadrte.bml
===================================================================
--- trunk/htdocs/imguploadrte.bml	2011-09-06 06:24:40 UTC (rev 19967)
+++ trunk/htdocs/imguploadrte.bml	2011-09-06 07:21:36 UTC (rev 19968)
@@ -28,7 +28,8 @@
             $js .= "</script>\n";
 
             $$head = $js;
-            return;
+            $GET{'only_upload'} = 1;
+            #return;
         }
     }
 
@@ -212,7 +213,7 @@
         $div_upload .= "</form></div>";
 
         if ($is_only_upload_div) {
-            $div_upload .= "<script>window.parent.InOb.setupIframeHandlers(true);</script>";
+            $div_upload .= "<script>window.parent.InOb.setupIframeHandlers(true);window.parent.InOb.showSelectorPage();</script>";
             ## We no need a html and head tags
             $$body = $div_upload;
             # BML::finish();

Tags: bml, livejournal, wisest-owl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments