Ignore:
Timestamp:
Oct 22, 2010, 10:03:09 AM (14 years ago)
Author:
grum
Message:

fix bug:1948

Location:
extensions/gally/gally-default
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/gally/gally-default/admin/GallyDefault.class.inc.php

    r6752 r7337  
    5252    $this->setDirectoryPrivate('templates.local', $templateDirectory);
    5353
     54
    5455    $this->setDirectoryPrivate('conf.parent', dirname(dirname(__FILE__)).'/conf');
    5556    $this->setDirectoryPrivate('conf.local', $confDirectory);
     
    8990    $this->config = new Conf();
    9091    $this->config->setFileName($this->directories['conf.parent']."/default.conf");
     92    $this->config->read();
     93    $this->config->setFileName($this->directories['conf.local']."/default.conf");
    9194    $this->config->read();
    9295    $this->config->setFileName(PHPWG_ROOT_PATH."local/themes/".basename(dirname($this->directories['conf.local']))."/conf/local.conf");
  • extensions/gally/gally-default/js/gallyjs-tpp.js

    r6956 r7337  
    44  ------------------------------------------------------------------------------
    55  file: gally/gallyjs-tpp.js
    6   file release: 1.2.0
     6  file release: 1.3.4
    77  ------------------------------------------------------------------------------
    88  author: grum at grum.dnsalias.com
     
    157157  $(window).resize( function () { initializeImageMode("resize"); } );
    158158
    159   $(document).data("initialized", 1);
     159  $(document).data("initialized", 1).trigger('gallyInterfaceReady');
    160160}
    161161
     
    214214        deadArea = $("#navThumbPrev").attr("clientWidth")*1.2;
    215215        mouse=Math.max(Math.min(event.clientX-this.offsetLeft, this.clientWidth - deadArea), deadArea);
    216         $("#theImg").css("left",Math.round(($("#theImg").attr("scrollWidth")-this.clientWidth) * -(mouse-deadArea)/(this.clientWidth-2*deadArea))+"px");
     216        $("#theImg")
     217          .css("left",Math.round(($("#theImg").attr("scrollWidth")-this.clientWidth) * -(mouse-deadArea)/(this.clientWidth-2*deadArea))+"px")
     218          .trigger('scrolled');
    217219      }
    218220    );
  • extensions/gally/gally-default/release_notes.txt

    r7329 r7337  
    107107  | 1.3.5   | 2010-10-21 | * add IT and DE languages
    108108  |         |            |
    109   |         |            |
    110   |         |            |
     109  |         |            | * mantis bug:1948
     110  |         |            |   . default conf file is not the right conf file
    111111  |         |            |
    112112  |         |            |
Note: See TracChangeset for help on using the changeset viewer.