- Fix for Folders being listed in create/remove/rename operations
(#725443, #722823, #729225)
- Fix for bad attachment view link (#697381, #729295)
+ - Fix comp_in_new in search and addressbook not having right parameters (#731768).
+
**************************************
*** SquirrelMail Stable Series 1.4 ***
comp_in_new is the javascript function to popup a new compose window.
-the function needs two arguments:
-1) compose new message (true or false)
-2) url with arguments to the compose window.
-
-if argument 1 is true then argument 2 should be ""
-
+the function needs one argument:
+1) url with arguments to the compose window.
example 1:
-<a href="javascript:void(0)" onclick="comp_in_new(true,"")>
+<a href="javascript:void(0)" onclick="comp_in_new("")>
example 2:
-<a href="javascript:void(0)" onclick="comp_in_new(false,"../../src/compose.php?argument1=true&argument2=test")>
+<a href="javascript:void(0)" onclick="comp_in_new("../../src/compose.php?argument1=true&argument2=test")>
}
$email = $abook->full_address($row);
if ($compose_new_win == '1') {
- echo '<a href="javascript:void(0)" onclick=comp_in_new(false,"compose.php?send_to='.rawurlencode($email).'")>';
+ echo '<a href="javascript:void(0)" onclick=comp_in_new("compose.php?send_to='.rawurlencode($email).'")>';
}
else {
echo '<A HREF="compose.php?send_to=' . rawurlencode($email).'">';
if (isset($composenew) && $composenew) {
$comp_uri = "../src/compose.php?mailbox=". urlencode($mailbox).
"&session=$composesession&attachedmessages=true&";
- displayPageHeader($color, $mailbox, "comp_in_new(false,'$comp_uri');", false);
+ displayPageHeader($color, $mailbox, "comp_in_new('$comp_uri');", false);
} else {
displayPageHeader($color, $mailbox);
}