Changeset 15551 for trunk/admin


Ignore:
Timestamp:
Jun 5, 2012, 8:06:53 PM (12 years ago)
Author:
rvelices
Message:

multisize - avoid php warning for rotation_angle; better error logging; javascript avoid navigation to empty # anchor

Location:
trunk/admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/image.class.php

    r14723 r15551  
    276276  static function get_rotation_angle_from_code($rotation_code)
    277277  {
    278     switch($rotation_code)
     278    switch($rotation_code%4)
    279279    {
    280280      case 0: return 0;
     
    624624    if (is_array($returnarray) && (count($returnarray)>0) )
    625625    {
    626       ilog($returnarray);
     626      ilog('ERROR', $returnarray);
    627627    }
    628628    return is_array($returnarray);
  • trunk/admin/themes/default/template/configuration.tpl

    r14649 r15551  
    294294    jQuery("#sizeEdit-"+sizeName).toggle();
    295295    jQuery(this).hide();
     296                return false;
    296297  });
    297298
     
    491492  jQuery(".addWatermarkOpen").click(function(){
    492493    jQuery("#addWatermark, #selectWatermark").toggle();
     494                return false;
    493495  });
    494496});
Note: See TracChangeset for help on using the changeset viewer.