Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-updates-src > by-pkgid > fc6f60ad5dc13a448a13eb625263b62c > files > 54

squirrelmail-1.4.23-0.svn20201220_0200.1.mga7.src.rpm

Upstream simply forgot updating two javascript function calls after moving all
functions in one namespace
--- a/include/avelsieve_action.class.php
+++ b/include/avelsieve_action.class.php
@@ -220,7 +220,7 @@
                             $out .= 'if(el(\'options_'.$i.'\')) { new Effect.BlindUp(\'options_'.$i.'\'); }
                                      if(el(\'helptxt_action_'.$i.'\')) { new Effect.Fade(\'helptxt_action_'.$i.'\'); } ';
                         } else {
-                            $out .= 'HideDiv(\'options_'.$i.'\'); HideDiv(\'helptxt_action_'.$i.'\');';
+                            $out .= 'AVELSIEVE.util.hideDiv(\'options_'.$i.'\'); AVELSIEVE.util.hideDiv(\'helptxt_action_'.$i.'\');';
                         }
                     }
                 }
@@ -228,7 +228,7 @@
                     $out .= 'if(el(\'options_'.$this->num.'\')) { new Effect.BlindDown(\'options_'.$this->num.'\'); }
                              if(el(\'helptxt_action_'.$this->num.'\')) { new Effect.Appear(\'helptxt_action_'.$this->num.'\'); }';
                 } else {
-                    $out .= 'ShowDiv(\'options_'.$this->num.'\'); ShowDiv(\'helptxt_action_'.$this->num.'\');';
+                    $out .= 'AVELSIEVE.util.showDiv(\'options_'.$this->num.'\'); AVELSIEVE.util.showDiv(\'helptxt_action_'.$this->num.'\');';
                 }
                 $out .= ' return true;"';
             }