Changeset 1268 for trunk/plugins


Ignore:
Timestamp:
07/14/10 09:47:19 (9 years ago)
Author:
gogo
Message:

Update to latest Mootools File Manager

Location:
trunk/plugins/MootoolsFileManager/mootools-filemanager
Files:
76 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/MootoolsFileManager/mootools-filemanager/.git/logs/HEAD

    r1239 r1268  
    110000000000000000000000000000000000000000 9ee008ea7a21399a16e3debbe04dc41201a64ca8 James Sleeman <boffin@mortimer.(none)> 1266405845 +1300       clone: from git://github.com/cpojer/mootools-filemanager.git 
     29ee008ea7a21399a16e3debbe04dc41201a64ca8 b08dc8958089ac41594e20c343938090894bfa58 James Sleeman <boffin@mortimer.(none)> 1279099987 +1200       pull : Fast-forward 
  • trunk/plugins/MootoolsFileManager/mootools-filemanager/.git/logs/refs/heads/master

    r1239 r1268  
    110000000000000000000000000000000000000000 9ee008ea7a21399a16e3debbe04dc41201a64ca8 James Sleeman <boffin@mortimer.(none)> 1266405845 +1300       clone: from git://github.com/cpojer/mootools-filemanager.git 
     29ee008ea7a21399a16e3debbe04dc41201a64ca8 b08dc8958089ac41594e20c343938090894bfa58 James Sleeman <boffin@mortimer.(none)> 1279099987 +1200       pull : Fast-forward 
  • trunk/plugins/MootoolsFileManager/mootools-filemanager/.git/refs/heads/master

    r1239 r1268  
    1 9ee008ea7a21399a16e3debbe04dc41201a64ca8 
     1b08dc8958089ac41594e20c343938090894bfa58 
  • trunk/plugins/MootoolsFileManager/mootools-filemanager/Source/Additions.js

    r1245 r1268  
    2626Element.implement({ 
    2727         
    28         appearOn: function(el, opacity, options){ 
    29                 opacity = $type(opacity) == 'array' ? [opacity[0] || 1, opacity[1] || 0] : [opacity || 1, 0]; 
    30                  
    31                 this.set({ 
    32                         opacity: opacity[1], 
    33                         tween: options || {duration: 200} 
    34                 }); 
    35                  
    36                 $(el).addEvents({ 
    37                         mouseenter: this.fade.bind(this, opacity[0]), 
    38                         mouseleave: this.fade.bind(this, opacity[1]) 
    39                 }); 
    40                  
    41                 return this; 
    42         }, 
     28                appearOn: function(el) { 
     29                         
     30                        var params = Array.link($A(arguments).erase(arguments[0]), {options: Object.type, opacity: $defined}), 
     31                                opacity = $type(params.opacity) == 'array' ? [params.opacity[0] || 1, params.opacity[1] || 0] : [params.opacity || 1, 0]; 
     32                         
     33                        this.set({ 
     34                                opacity: opacity[1], 
     35                                tween: params.options || {duration: 500} 
     36                        }); 
     37                         
     38                        $$(el).addEvents({ 
     39                                mouseenter: this.fade.bind(this, opacity[0]), 
     40                                mouseleave: this.fade.bind(this, opacity[1]) 
     41                        }); 
     42                         
     43                        return this; 
     44                }, 
    4345         
    4446        center: function(offsets){ 
  • trunk/plugins/MootoolsFileManager/mootools-filemanager/Source/Uploader/Swiff.Uploader.js

    r1239 r1268  
    124124 
    125125                // container options for Swiff class 
    126                 this.options.container = this.box = new Element('span', {'class': 'swiff-uploader-box'}).inject($(this.options.container) || document.body); 
     126                this.options.container = this.box = new Element('span', {'class': 'swiff-uploader-box'}).inject(document.id(this.options.container) || document.body); 
    127127 
    128128                // target 
    129                 this.target = $(this.options.target); 
     129                this.target = document.id(this.options.target); 
    130130                if (this.target) { 
    131131                        var scroll = window.getScroll(); 
Note: See TracChangeset for help on using the changeset viewer.