Changeset 6e5aa8d4aa61dd10ac2708347b900d661285b0f8

Show
Ignore:
Timestamp:
07/13/10 02:01:02 (8 weeks ago)
Author:
Jim Garrison <jim@…>
Children:
f2b6d3a95619e9d1e1cbebf64b264512711c3698
Parents:
3d2e25991c8b82f523e84aafebb7b408a044fbd1
git-committer:
Jim Garrison <jim@jimgarrison.org> / 2010-07-12T23:01:02Z-0700
Message:

upgraded to jqueryui 1.8.2

Location:
ductus
Files:
1 added
1 removed
2 modified
2 moved

Legend:

Unmodified
Added
Removed
  • ductus/static/common/js/jquery-ui-1.8.2.custom.js

    r4d38551 r6e5aa8d  
    11/*! 
    2  * jQuery UI 1.8 
     2 * jQuery UI 1.8.2 
    33 * 
    44 * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) 
     
    88 * http://docs.jquery.com/UI 
    99 */ 
    10 ;jQuery.ui || (function($) { 
     10 
     11(function($) { 
     12 
     13// prevent duplicate loading 
     14// this is only a problem because we proxy existing functions 
     15// and we don't want to double proxy them 
     16$.ui = $.ui || {}; 
     17if ($.ui.version) { 
     18        return; 
     19} 
    1120 
    1221//Helper functions and ui object 
    13 $.ui = { 
    14         version: "1.8", 
     22$.extend($.ui, { 
     23        version: "1.8.2", 
    1524 
    1625        // $.ui.plugin is deprecated.  Use the proxy pattern instead. 
     
    7180 
    7281        keyCode: { 
     82                ALT: 18, 
    7383                BACKSPACE: 8, 
    7484                CAPS_LOCK: 20, 
    7585                COMMA: 188, 
     86                COMMAND: 91, 
     87                COMMAND_LEFT: 91, // COMMAND 
     88                COMMAND_RIGHT: 93, 
    7689                CONTROL: 17, 
    7790                DELETE: 46, 
     
    8396                INSERT: 45, 
    8497                LEFT: 37, 
     98                MENU: 93, // COMMAND_RIGHT 
    8599                NUMPAD_ADD: 107, 
    86100                NUMPAD_DECIMAL: 110, 
     
    96110                SPACE: 32, 
    97111                TAB: 9, 
    98                 UP: 38 
     112                UP: 38, 
     113                WINDOWS: 91 // COMMAND 
    99114        } 
    100 }; 
     115}); 
    101116 
    102117//jQuery plugins 
     
    118133                return this 
    119134                        .attr('unselectable', 'off') 
    120                         .css('MozUserSelect', '') 
    121                         .unbind('selectstart.ui'); 
     135                        .css('MozUserSelect', ''); 
    122136        }, 
    123137 
     
    125139                return this 
    126140                        .attr('unselectable', 'on') 
    127                         .css('MozUserSelect', 'none') 
    128                         .bind('selectstart.ui', function() { return false; }); 
     141                        .css('MozUserSelect', 'none'); 
    129142        }, 
    130143 
     
    203216})(jQuery); 
    204217/*! 
    205  * jQuery UI Widget 1.8 
     218 * jQuery UI Widget 1.8.2 
    206219 * 
    207220 * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) 
     
    359372                        .removeClass( 
    360373                                this.widgetBaseClass + "-disabled " + 
    361                                 this.namespace + "-state-disabled" ); 
     374                                "ui-state-disabled" ); 
    362375        }, 
    363376 
     
    396409                                [ value ? "addClass" : "removeClass"]( 
    397410                                        this.widgetBaseClass + "-disabled" + " " + 
    398                                         this.namespace + "-state-disabled" ) 
     411                                        "ui-state-disabled" ) 
    399412                                .attr( "aria-disabled", value ); 
    400413                } 
     
    439452})( jQuery ); 
    440453/*! 
    441  * jQuery UI Mouse 1.8 
     454 * jQuery UI Mouse 1.8.2 
    442455 * 
    443456 * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) 
     
    590603})(jQuery); 
    591604/* 
    592  * jQuery UI Position 1.8 
     605 * jQuery UI Position 1.8.2 
    593606 * 
    594607 * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) 
     
    704717                } 
    705718 
     719                // prevent fractions (see #5280) 
     720                position.left = parseInt( position.left ); 
     721                position.top = parseInt( position.top ); 
     722 
    706723                $.each( [ "left", "top" ], function( i, dir ) { 
    707724                        if ( $.ui.position[ collision[i] ] ) { 
     
    819836}( jQuery )); 
    820837/* 
    821  * jQuery UI Draggable 1.8 
     838 * jQuery UI Draggable 1.8.2 
    822839 * 
    823840 * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) 
     
    12791296 
    12801297$.extend($.ui.draggable, { 
    1281         version: "1.8" 
     1298        version: "1.8.2" 
    12821299}); 
    12831300 
     
    16161633})(jQuery); 
    16171634/* 
    1618  * jQuery UI Droppable 1.8 
     1635 * jQuery UI Droppable 1.8.2 
    16191636 * 
    16201637 * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) 
     
    17641781 
    17651782$.extend($.ui.droppable, { 
    1766         version: "1.8" 
     1783        version: "1.8.2" 
    17671784}); 
    17681785 
     
    19011918})(jQuery); 
    19021919/* 
    1903  * jQuery UI Resizable 1.8 
     1920 * jQuery UI Resizable 1.8.2 
    19041921 * 
    19051922 * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) 
     
    24212438 
    24222439$.extend($.ui.resizable, { 
    2423         version: "1.8" 
     2440        version: "1.8.2" 
    24242441}); 
    24252442 
     
    26992716 
    27002717})(jQuery); 
     2718 
    27012719/* 
    2702  * jQuery UI Selectable 1.8 
     2720 * jQuery UI Selectable 1.8.2 
    27032721 * 
    27042722 * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) 
     
    27572775                this._mouseInit(); 
    27582776 
    2759                 this.helper = $(document.createElement('div')) 
    2760                         .css({border:'1px dotted black'}) 
    2761                         .addClass("ui-selectable-helper"); 
     2777                this.helper = $("<div class='ui-selectable-helper'></div>"); 
    27622778        }, 
    27632779 
     
    28222838                        var selectee = $.data(this, "selectable-item"); 
    28232839                        if (selectee) { 
    2824                                 selectee.$element.removeClass("ui-unselecting").addClass('ui-selecting'); 
    2825                                 selectee.unselecting = false; 
    2826                                 selectee.selecting = true; 
    2827                                 selectee.selected = true; 
    2828                                 // selectable SELECTING callback 
    2829                                 self._trigger("selecting", event, { 
    2830                                         selecting: selectee.element 
    2831                                 }); 
     2840                                var doSelect = !event.metaKey || !selectee.$element.hasClass('ui-selected'); 
     2841                                selectee.$element 
     2842                                        .removeClass(doSelect ? "ui-unselecting" : "ui-selected") 
     2843                                        .addClass(doSelect ? "ui-selecting" : "ui-unselecting"); 
     2844                                selectee.unselecting = !doSelect; 
     2845                                selectee.selecting = doSelect; 
     2846                                selectee.selected = doSelect; 
     2847                                // selectable (UN)SELECTING callback 
     2848                                if (doSelect) { 
     2849                                        self._trigger("selecting", event, { 
     2850                                                selecting: selectee.element 
     2851                                        }); 
     2852                                } else { 
     2853                                        self._trigger("unselecting", event, { 
     2854                                                unselecting: selectee.element 
     2855                                        }); 
     2856                                } 
    28322857                                return false; 
    28332858                        } 
     
    29562981 
    29572982$.extend($.ui.selectable, { 
    2958         version: "1.8" 
     2983        version: "1.8.2" 
    29592984}); 
    29602985 
    29612986})(jQuery); 
    29622987/* 
    2963  * jQuery UI Sortable 1.8 
     2988 * jQuery UI Sortable 1.8.2 
    29642989 * 
    29652990 * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) 
     
    30353060        }, 
    30363061 
     3062        _setOption: function(key, value){ 
     3063                if ( key === "disabled" ) { 
     3064                        this.options[ key ] = value; 
     3065         
     3066                        this.widget() 
     3067                                [ value ? "addClass" : "removeClass"]( "ui-sortable-disabled" ); 
     3068                } else { 
     3069                        // Don't call widget base _setOption for disable as it adds ui-state-disabled class 
     3070                        $.Widget.prototype._setOption.apply(this, arguments); 
     3071                } 
     3072        }, 
     3073 
    30373074        _mouseCapture: function(event, overrideHandle) { 
    30383075 
     
    40114048 
    40124049$.extend($.ui.sortable, { 
    4013         version: "1.8" 
     4050        version: "1.8.2" 
    40144051}); 
    40154052 
    40164053})(jQuery); 
    40174054/* 
    4018  * jQuery UI Dialog 1.8 
     4055 * jQuery UI Dialog 1.8.2 
    40194056 * 
    40204057 * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) 
     
    46394676                // reset content sizing 
    46404677                // hide for non content measurement because height: 0 doesn't work in IE quirks mode (see #4350) 
    4641                 this.element.css('width', 'auto') 
    4642                         .hide(); 
     4678                this.element.css({ 
     4679                        width: 'auto', 
     4680                        minHeight: 0, 
     4681                        height: 0 
     4682                }); 
    46434683 
    46444684                // reset wrapper sizing 
     
    46674707 
    46684708$.extend($.ui.dialog, { 
    4669         version: "1.8", 
     4709        version: "1.8.2", 
    46704710 
    46714711        uuid: 0, 
     
    48364876}(jQuery)); 
    48374877/* 
    4838  * jQuery UI Tabs 1.8 
     4878 * jQuery UI Tabs 1.8.2 
    48394879 * 
    48404880 * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) 
     
    48524892var tabId = 0, 
    48534893        listId = 0; 
     4894 
     4895function getNextTabId() { 
     4896        return ++tabId; 
     4897} 
     4898 
     4899function getNextListId() { 
     4900        return ++listId; 
     4901} 
    48544902 
    48554903$.widget("ui.tabs", { 
     
    48934941        _tabId: function(a) { 
    48944942                return a.title && a.title.replace(/\s/g, '_').replace(/[^A-Za-z0-9\-_:\.]/g, '') || 
    4895                         this.options.idPrefix + (++tabId); 
     4943                        this.options.idPrefix + getNextTabId(); 
    48964944        }, 
    48974945 
     
    49014949 
    49024950        _cookie: function() { 
    4903                 var cookie = this.cookie || (this.cookie = this.options.cookie.name || 'ui-tabs-' + (++listId)); 
     4951                var cookie = this.cookie || (this.cookie = this.options.cookie.name || 'ui-tabs-' + getNextListId()); 
    49044952                return $.cookie.apply(null, [cookie].concat($.makeArray(arguments))); 
    49054953        }, 
     
    54975545 
    54985546$.extend($.ui.tabs, { 
    5499         version: '1.8' 
     5547        version: '1.8.2' 
    55005548}); 
    55015549 
     
    55575605})(jQuery); 
    55585606/* 
    5559  * jQuery UI Progressbar 1.8 
     5607 * jQuery UI Progressbar 1.8.2 
    55605608 * 
    55615609 * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) 
     
    56595707 
    56605708$.extend( $.ui.progressbar, { 
    5661         version: "1.8" 
     5709        version: "1.8.2" 
    56625710}); 
    56635711 
    56645712})( jQuery ); 
    56655713/* 
    5666  * jQuery UI Effects 1.8 
     5714 * jQuery UI Effects 1.8.2 
    56675715 * 
    56685716 * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) 
     
    59666014 
    59676015$.extend($.effects, { 
    5968         version: "1.8", 
     6016        version: "1.8.2", 
    59696017 
    59706018        // Saves a set of properties in a data storage 
     
    63786426})(jQuery); 
    63796427/* 
    6380  * jQuery UI Effects Transfer 1.8 
     6428 * jQuery UI Effects Transfer 1.8.2 
    63816429 * 
    63826430 * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) 
  • ductus/static/common/js/jquery-ui-authors.txt

    r3428a24 r6e5aa8d  
    1 jQuery UI Authors (http://ui.jquery.com/about) 
     1jQuery UI Authors (http://jqueryui.com/about) 
    22 
    33This software consists of voluntary contributions made by many 
    44individuals. For exact contribution history, see the revision history 
    5 and logs, available at http://jquery-ui.googlecode.com/svn/ 
     5and logs, available at http://github.com/jquery/jquery-ui 
    66 
    77Brandon Aaron 
  • ductus/templates/ductus_base.html

    r59cf1af r6e5aa8d  
    77    {# include local (site-specific) css #} 
    88    <script type="text/javascript" src="{{ ductus_media_prefix }}common/js/jquery-1.4.2.min.js"></script> 
    9     <script type="text/javascript" src="{{ ductus_media_prefix }}common/js/jquery-ui-1.8.custom.min.js"></script> 
     9    <script type="text/javascript" src="{{ ductus_media_prefix }}common/js/jquery-ui-1.8.2.custom.min.js"></script> 
    1010    <script type="text/javascript" src="{{ ductus_media_prefix }}common/js/jquery.metadata.min.js"></script> 
    1111    <script type="text/javascript" src="{{ ductus_media_prefix }}common/js/json2.min.js"></script>