can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[fotobilder] r1449: LJSV-1726: Image resizing issues in RTE

Committer: dpetrov
LJSV-1726: Image resizing issues in RTE
U   trunk/htdocs/manage/tolj_galpicsrte
U   trunk/htdocs/manage/tolj_pickgalrte
Modified: trunk/htdocs/manage/tolj_galpicsrte
===================================================================
--- trunk/htdocs/manage/tolj_galpicsrte	2011-06-16 09:11:38 UTC (rev 1448)
+++ trunk/htdocs/manage/tolj_galpicsrte	2011-08-30 10:08:18 UTC (rev 1449)
@@ -19,12 +19,12 @@
 </script>
 -->
 <script language="JavaScript">
-    var LJWin = window.parent.InObFCK;
+    var LJWin = window.parent.parent.InOb;
 
     // When a user clicks on the gallery they progress to the next page
     LJWin.hideNext();
     LJWin.setTitle('Step 2 of 2: Select Image to Insert');
-    LJWin.setPreviousCb(window.parent.InObFCK.fotobilderStepOne);
+    LJWin.setPreviousCb(LJWin.fotobilderStepOne);
 </script>
 </script>
 </head>
@@ -86,7 +86,7 @@
         my $retaddr = $retbase;
         $retaddr .= "?" . join("&", map { FB::eurl($_) . "=" . FB::eurl($picret{$_}) } keys %picret);
 
-        $ret .= "<a href='$retaddr' target='_parent'><img src='$turl' width='$tw' height='$th' alt='Pic' border='0' /></a> ";
+        $ret .= "<a href='$retaddr'><img src='$turl' width='$tw' height='$th' alt='Pic' border='0' /></a> ";
     }
 
     return $ret;

Modified: trunk/htdocs/manage/tolj_pickgalrte
===================================================================
--- trunk/htdocs/manage/tolj_pickgalrte	2011-06-16 09:11:38 UTC (rev 1448)
+++ trunk/htdocs/manage/tolj_pickgalrte	2011-08-30 10:08:18 UTC (rev 1449)
@@ -19,7 +19,7 @@
 </script>
 -->
 <script language='JavaScript'>
-    var LJWin = window.parent.InObFCK;
+    var LJWin = window.parent.parent.InOb;
 
     // When a user clicks on the gallery they progress to the next page
     LJWin.hideNext();

Tags: can3p, fotobilder
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