Changeset daf70c in indico


Ignore:
Timestamp:
05/25/11 16:16:34 (2 years ago)
Author:
Adrian Moennich <jerome.ernst.monnich@…>
Branches:
master, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 0da0c1403bae8e51d8229f460181c71b9e6dda72
Children:
5cf83f
Parents:
765e62
Message:

[MIN] Upgrade jQuery UI 1.8.12 -> 1.8.13

Location:
indico/htdocs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • indico/htdocs/css/jquery-ui.css

    rfb6f28 rdaf70c  
    11/* 
    2  * jQuery UI CSS Framework 1.8.12 
     2 * jQuery UI CSS Framework 1.8.13 
    33 * 
    44 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    4343 
    4444/* 
    45  * jQuery UI CSS Framework 1.8.12 
     45 * jQuery UI CSS Framework 1.8.13 
    4646 * 
    4747 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    5151 * http://docs.jquery.com/UI/Theming/API 
    5252 * 
    53  * To view and modify this theme, visit http://jqueryui.com/themeroller/?ctl=themeroller&ffDefault=arial,serif&fwDefault=bold&fsDefault=13px&cornerRadius=5px&bgColorHeader=4d8bb8&bgTextureHeader=06_inset_hard.png&bgImgOpacityHeader=55&borderColorHeader=0b63a5&fcHeader=ffffff&iconColorHeader=d8e7f3&bgColorContent=fcfdfd&bgTextureContent=06_inset_hard.png&bgImgOpacityContent=100&borderColorContent=a6c9e2&fcContent=222222&iconColorContent=469bdd&bgColorDefault=dfeffc&bgTextureDefault=02_glass.png&bgImgOpacityDefault=85&borderColorDefault=c5dbec&fcDefault=2e6e9e&iconColorDefault=6da8d5&bgColorHover=fff6df&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=79b7e7&fcHover=1d5987&iconColorHover=217bc0&bgColorActive=cdeb8b&bgTextureActive=06_inset_hard.png&bgImgOpacityActive=100&borderColorActive=79b7e7&fcActive=e17009&iconColorActive=f9bd01&bgColorHighlight=fbec88&bgTextureHighlight=01_flat.png&bgImgOpacityHighlight=55&borderColorHighlight=fad42e&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=444444&bgTextureOverlay=07_diagonals_medium.png&bgImgOpacityOverlay=25&opacityOverlay=50&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px 
     53 * To view and modify this theme, visit http://jqueryui.com/themeroller/?ctl=themeroller&ctl=themeroller&ffDefault=arial,serif&fwDefault=bold&fsDefault=13px&cornerRadius=5px&bgColorHeader=4d8bb8&bgTextureHeader=06_inset_hard.png&bgImgOpacityHeader=55&borderColorHeader=0b63a5&fcHeader=ffffff&iconColorHeader=d8e7f3&bgColorContent=fcfdfd&bgTextureContent=06_inset_hard.png&bgImgOpacityContent=100&borderColorContent=a6c9e2&fcContent=222222&iconColorContent=469bdd&bgColorDefault=dfeffc&bgTextureDefault=02_glass.png&bgImgOpacityDefault=85&borderColorDefault=c5dbec&fcDefault=2e6e9e&iconColorDefault=6da8d5&bgColorHover=fff6df&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=79b7e7&fcHover=1d5987&iconColorHover=217bc0&bgColorActive=cdeb8b&bgTextureActive=06_inset_hard.png&bgImgOpacityActive=100&borderColorActive=79b7e7&fcActive=e17009&iconColorActive=f9bd01&bgColorHighlight=fbec88&bgTextureHighlight=01_flat.png&bgImgOpacityHighlight=55&borderColorHighlight=fad42e&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=444444&bgTextureOverlay=07_diagonals_medium.png&bgImgOpacityOverlay=25&opacityOverlay=50&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px 
    5454 */ 
    5555 
     
    294294.ui-widget-overlay { background: #444444 url(../images/jquery-ui/ui-bg_diagonals-medium_25_444444_40x40.png) 50% 50% repeat; opacity: .50;filter:Alpha(Opacity=50); } 
    295295.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(../images/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/* 
    296  * jQuery UI Resizable 1.8.12 
     296 * jQuery UI Resizable 1.8.13 
    297297 * 
    298298 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    307307         - Resizable: resizable handles fail to work in IE if transparent and content overlaps 
    308308        */ 
    309         background-image:url(data:); 
     309        background-image:url(data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=); 
    310310} 
    311311.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; } 
     
    318318.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; } 
    319319.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/* 
    320  * jQuery UI Selectable 1.8.12 
     320 * jQuery UI Selectable 1.8.13 
    321321 * 
    322322 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    328328.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; } 
    329329/* 
    330  * jQuery UI Accordion 1.8.12 
     330 * jQuery UI Accordion 1.8.13 
    331331 * 
    332332 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    347347.ui-accordion .ui-accordion-content-active { display: block; } 
    348348/* 
    349  * jQuery UI Autocomplete 1.8.12 
     349 * jQuery UI Autocomplete 1.8.13 
    350350 * 
    351351 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    361361 
    362362/* 
    363  * jQuery UI Menu 1.8.12 
     363 * jQuery UI Menu 1.8.13 
    364364 * 
    365365 * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) 
     
    400400} 
    401401/* 
    402  * jQuery UI Button 1.8.12 
     402 * jQuery UI Button 1.8.13 
    403403 * 
    404404 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    438438button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */ 
    439439/* 
    440  * jQuery UI Dialog 1.8.12 
     440 * jQuery UI Dialog 1.8.13 
    441441 * 
    442442 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    459459.ui-draggable .ui-dialog-titlebar { cursor: move; } 
    460460/* 
    461  * jQuery UI Slider 1.8.12 
     461 * jQuery UI Slider 1.8.13 
    462462 * 
    463463 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    482482.ui-slider-vertical .ui-slider-range-min { bottom: 0; } 
    483483.ui-slider-vertical .ui-slider-range-max { top: 0; }/* 
    484  * jQuery UI Tabs 1.8.12 
     484 * jQuery UI Tabs 1.8.13 
    485485 * 
    486486 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    500500.ui-tabs .ui-tabs-hide { display: none !important; } 
    501501/* 
    502  * jQuery UI Datepicker 1.8.12 
     502 * jQuery UI Datepicker 1.8.13 
    503503 * 
    504504 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    567567    height: 200px; /*must have*/ 
    568568}/* 
    569  * jQuery UI Progressbar 1.8.12 
     569 * jQuery UI Progressbar 1.8.13 
    570570 * 
    571571 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
  • indico/htdocs/js/jquery/jquery-ui.js

    r8ae4b3 rdaf70c  
    11/*! 
    2  * jQuery UI 1.8.12 
     2 * jQuery UI 1.8.13 
    33 * 
    44 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    1919 
    2020$.extend( $.ui, { 
    21         version: "1.8.12", 
     21        version: "1.8.13", 
    2222 
    2323        keyCode: { 
     
    175175 
    176176// selectors 
     177function focusable( element, isTabIndexNotNaN ) { 
     178        var nodeName = element.nodeName.toLowerCase(); 
     179        if ( "area" === nodeName ) { 
     180                var map = element.parentNode, 
     181                        mapName = map.name, 
     182                        img; 
     183                if ( !element.href || !mapName || map.nodeName.toLowerCase() !== "map" ) { 
     184                        return false; 
     185                } 
     186                img = $( "img[usemap=#" + mapName + "]" )[0]; 
     187                return !!img && visible( img ); 
     188        } 
     189        return ( /input|select|textarea|button|object/.test( nodeName ) 
     190                ? !element.disabled 
     191                : "a" == nodeName 
     192                        ? element.href || isTabIndexNotNaN 
     193                        : isTabIndexNotNaN) 
     194                // the element and all of its ancestors must be visible 
     195                && visible( element ); 
     196} 
     197 
    177198function visible( element ) { 
    178199        return !$( element ).parents().andSelf().filter(function() { 
     
    188209 
    189210        focusable: function( element ) { 
    190                 var nodeName = element.nodeName.toLowerCase(), 
    191                         tabIndex = $.attr( element, "tabindex" ); 
    192                 if ( "area" === nodeName ) { 
    193                         var map = element.parentNode, 
    194                                 mapName = map.name, 
    195                                 img; 
    196                         if ( !element.href || !mapName || map.nodeName.toLowerCase() !== "map" ) { 
    197                                 return false; 
    198                         } 
    199                         img = $( "img[usemap=#" + mapName + "]" )[0]; 
    200                         return !!img && visible( img ); 
    201                 } 
    202                 return ( /input|select|textarea|button|object/.test( nodeName ) 
    203                         ? !element.disabled 
    204                         : "a" == nodeName 
    205                                 ? element.href || !isNaN( tabIndex ) 
    206                                 : !isNaN( tabIndex )) 
    207                         // the element and all of its ancestors must be visible 
    208                         && visible( element ); 
     211                return focusable( element, !isNaN( $.attr( element, "tabindex" ) ) ); 
    209212        }, 
    210213 
    211214        tabbable: function( element ) { 
    212                 var tabIndex = $.attr( element, "tabindex" ); 
    213                 return ( isNaN( tabIndex ) || tabIndex >= 0 ) && $( element ).is( ":focusable" ); 
     215                var tabIndex = $.attr( element, "tabindex" ), 
     216                        isTabIndexNaN = isNaN( tabIndex ); 
     217                return ( isTabIndexNaN || tabIndex >= 0 ) && focusable( element, !isTabIndexNaN ); 
    214218        } 
    215219}); 
     
    255259                                return; 
    256260                        } 
    257  
     261         
    258262                        for ( var i = 0; i < set.length; i++ ) { 
    259263                                if ( instance.options[ set[ i ][ 0 ] ] ) { 
     
    263267                } 
    264268        }, 
    265  
     269         
    266270        // will be deprecated when we switch to jQuery 1.4 - use jQuery.contains() 
    267271        contains: function( a, b ) { 
     
    270274                        a !== b && a.contains( b ); 
    271275        }, 
    272  
     276         
    273277        // only used by resizable 
    274278        hasScroll: function( el, a ) { 
    275  
     279         
    276280                //If overflow is hidden, the element might have extra content, but the user wants to hide it 
    277281                if ( $( el ).css( "overflow" ) === "hidden") { 
    278282                        return false; 
    279283                } 
    280  
     284         
    281285                var scroll = ( a && a === "left" ) ? "scrollLeft" : "scrollTop", 
    282286                        has = false; 
    283  
     287         
    284288                if ( el[ scroll ] > 0 ) { 
    285289                        return true; 
    286290                } 
    287  
     291         
    288292                // TODO: determine which cases actually cause this to happen 
    289293                // if the element doesn't have the scroll set, see if it's possible to 
     
    294298                return has; 
    295299        }, 
    296  
     300         
    297301        // these are odd functions, fix the API or move into individual plugins 
    298302        isOverAxis: function( x, reference, size ) { 
     
    308312})( jQuery ); 
    309313/*! 
    310  * jQuery UI Widget 1.8.12 
     314 * jQuery UI Widget 1.8.13 
    311315 * 
    312316 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    570574})( jQuery ); 
    571575/*! 
    572  * jQuery UI Mouse 1.8.12 
     576 * jQuery UI Mouse 1.8.13 
    573577 * 
    574578 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    583587(function( $, undefined ) { 
    584588 
     589var mouseHandled = false; 
     590$(document).mousedown(function(e) { 
     591        mouseHandled = false; 
     592}); 
     593 
    585594$.widget("ui.mouse", { 
    586595        options: { 
     
    615624        _mouseDown: function(event) { 
    616625                // don't let more than one widget handle mouseStart 
    617                 // TODO: figure out why we have to use originalEvent 
    618                 event.originalEvent = event.originalEvent || {}; 
    619                 if (event.originalEvent.mouseHandled) { return; } 
     626                if(mouseHandled) {return}; 
    620627 
    621628                // we may have missed mouseup (out of window) 
     
    663670 
    664671                event.preventDefault(); 
    665                 event.originalEvent.mouseHandled = true; 
     672                 
     673                mouseHandled = true; 
    666674                return true; 
    667675        }, 
     
    726734})(jQuery); 
    727735/* 
    728  * jQuery UI Position 1.8.12 
     736 * jQuery UI Position 1.8.13 
    729737 * 
    730738 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    781789 
    782790        // force my and at to have valid horizontal and veritcal positions 
    783         // if a value is missing or invalid, it will be converted to center 
     791        // if a value is missing or invalid, it will be converted to center  
    784792        $.each( [ "my", "at" ], function() { 
    785793                var pos = ( options[this] || "" ).split( " " ); 
     
    956964                                left: (options.left - curOffset.left) + curLeft 
    957965                        }; 
    958  
     966                 
    959967                if ( 'using' in options ) { 
    960968                        options.using.call( elem, props ); 
     
    967975                var elem = this[ 0 ]; 
    968976                if ( !elem || !elem.ownerDocument ) { return null; } 
    969                 if ( options ) { 
     977                if ( options ) {  
    970978                        return this.each(function() { 
    971979                                $.offset.setOffset( this, options ); 
     
    978986}( jQuery )); 
    979987/* 
    980  * jQuery UI Draggable 1.8.12 
     988 * jQuery UI Draggable 1.8.13 
    981989 * 
    982990 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    10581066                if (!this.handle) 
    10591067                        return false; 
     1068                 
     1069                $(o.iframeFix === true ? "iframe" : o.iframeFix).each(function() { 
     1070                        $('<div class="ui-draggable-iframeFix" style="background: #fff;"></div>') 
     1071                        .css({ 
     1072                                width: this.offsetWidth+"px", height: this.offsetHeight+"px", 
     1073                                position: "absolute", opacity: "0.001", zIndex: 1000 
     1074                        }) 
     1075                        .css($(this).offset()) 
     1076                        .appendTo("body"); 
     1077                }); 
    10601078 
    10611079                return true; 
     
    11701188                        this.dropped = false; 
    11711189                } 
    1172  
     1190                 
    11731191                //if the original element is removed, don't bother to continue if helper is set to "original" 
    11741192                if((!this.element[0] || !this.element[0].parentNode) && this.options.helper == "original") 
     
    11901208                return false; 
    11911209        }, 
    1192  
     1210         
     1211        _mouseUp: function(event) { 
     1212                if (this.options.iframeFix === true) { 
     1213                        $("div.ui-draggable-iframeFix").each(function() {  
     1214                                this.parentNode.removeChild(this);  
     1215                        }); //Remove frame helpers 
     1216                } 
     1217                 
     1218                return $.ui.mouse.prototype._mouseUp.call(this, event); 
     1219        }, 
     1220         
    11931221        cancel: function() { 
    1194  
     1222                 
    11951223                if(this.helper.is(".ui-draggable-dragging")) { 
    11961224                        this._mouseUp({}); 
     
    11981226                        this._clear(); 
    11991227                } 
    1200  
     1228                 
    12011229                return this; 
    1202  
     1230                 
    12031231        }, 
    12041232 
     
    12201248 
    12211249                var o = this.options; 
    1222                 var helper = $.isFunction(o.helper) ? $(o.helper.apply(this.element[0], [event])) : (o.helper == 'clone' ? this.element.clone() : this.element); 
     1250                var helper = $.isFunction(o.helper) ? $(o.helper.apply(this.element[0], [event])) : (o.helper == 'clone' ? this.element.clone().removeAttr('id') : this.element); 
    12231251 
    12241252                if(!helper.parents('body').length) 
     
    13211349 
    13221350                if(!(/^(document|window|parent)$/).test(o.containment) && o.containment.constructor != Array) { 
    1323                         var ce = $(o.containment)[0]; if(!ce) return; 
    1324                         var co = $(o.containment).offset(); 
     1351                        var c = $(o.containment); 
     1352                        var ce = c[0]; if(!ce) return; 
     1353                        var co = c.offset(); 
    13251354                        var over = ($(ce).css("overflow") != 'hidden'); 
    13261355 
    13271356                        this.containment = [ 
    1328                                 co.left + (parseInt($(ce).css("borderLeftWidth"),10) || 0) + (parseInt($(ce).css("paddingLeft"),10) || 0), 
    1329                                 co.top + (parseInt($(ce).css("borderTopWidth"),10) || 0) + (parseInt($(ce).css("paddingTop"),10) || 0), 
    1330                                 co.left+(over ? Math.max(ce.scrollWidth,ce.offsetWidth) : ce.offsetWidth) - (parseInt($(ce).css("borderLeftWidth"),10) || 0) - (parseInt($(ce).css("paddingRight"),10) || 0) - this.helperProportions.width - this.margins.left - this.margins.right, 
    1331                                 co.top+(over ? Math.max(ce.scrollHeight,ce.offsetHeight) : ce.offsetHeight) - (parseInt($(ce).css("borderTopWidth"),10) || 0) - (parseInt($(ce).css("paddingBottom"),10) || 0) - this.helperProportions.height - this.margins.top  - this.margins.bottom 
     1357                                (parseInt($(ce).css("borderLeftWidth"),10) || 0) + (parseInt($(ce).css("paddingLeft"),10) || 0), 
     1358                                (parseInt($(ce).css("borderTopWidth"),10) || 0) + (parseInt($(ce).css("paddingTop"),10) || 0), 
     1359                                (over ? Math.max(ce.scrollWidth,ce.offsetWidth) : ce.offsetWidth) - (parseInt($(ce).css("borderLeftWidth"),10) || 0) - (parseInt($(ce).css("paddingRight"),10) || 0) - this.helperProportions.width - this.margins.left - this.margins.right, 
     1360                                (over ? Math.max(ce.scrollHeight,ce.offsetHeight) : ce.offsetHeight) - (parseInt($(ce).css("borderTopWidth"),10) || 0) - (parseInt($(ce).css("paddingBottom"),10) || 0) - this.helperProportions.height - this.margins.top  - this.margins.bottom 
    13321361                        ]; 
     1362                        this.relative_container = c; 
     1363 
    13331364                } else if(o.containment.constructor == Array) { 
    13341365                        this.containment = o.containment; 
     
    13721403 
    13731404                if(this.originalPosition) { //If we are not dragging yet, we won't check for options 
    1374  
    1375                         if(this.containment) { 
    1376                                 if(event.pageX - this.offset.click.left < this.containment[0]) pageX = this.containment[0] + this.offset.click.left; 
    1377                                 if(event.pageY - this.offset.click.top < this.containment[1]) pageY = this.containment[1] + this.offset.click.top; 
    1378                                 if(event.pageX - this.offset.click.left > this.containment[2]) pageX = this.containment[2] + this.offset.click.left; 
    1379                                 if(event.pageY - this.offset.click.top > this.containment[3]) pageY = this.containment[3] + this.offset.click.top; 
     1405                         var containment; 
     1406                         if(this.containment) { 
     1407                                 if (this.relative_container){ 
     1408                                     var co = this.relative_container.offset(); 
     1409                                     containment = [ this.containment[0] + co.left, 
     1410                                                     this.containment[1] + co.top, 
     1411                                                     this.containment[2] + co.left, 
     1412                                                     this.containment[3] + co.top ]; 
     1413                                 } 
     1414                                 else { 
     1415                                     containment = this.containment; 
     1416                                 } 
     1417 
     1418                                if(event.pageX - this.offset.click.left < containment[0]) pageX = containment[0] + this.offset.click.left; 
     1419                                if(event.pageY - this.offset.click.top < containment[1]) pageY = containment[1] + this.offset.click.top; 
     1420                                if(event.pageX - this.offset.click.left > containment[2]) pageX = containment[2] + this.offset.click.left; 
     1421                                if(event.pageY - this.offset.click.top > containment[3]) pageY = containment[3] + this.offset.click.top; 
    13801422                        } 
    13811423 
    13821424                        if(o.grid) { 
    13831425                                var top = this.originalPageY + Math.round((pageY - this.originalPageY) / o.grid[1]) * o.grid[1]; 
    1384                                 pageY = this.containment ? (!(top - this.offset.click.top < this.containment[1] || top - this.offset.click.top > this.containment[3]) ? top : (!(top - this.offset.click.top < this.containment[1]) ? top - o.grid[1] : top + o.grid[1])) : top; 
     1426                                pageY = containment ? (!(top - this.offset.click.top < containment[1] || top - this.offset.click.top > containment[3]) ? top : (!(top - this.offset.click.top < containment[1]) ? top - o.grid[1] : top + o.grid[1])) : top; 
    13851427 
    13861428                                var left = this.originalPageX + Math.round((pageX - this.originalPageX) / o.grid[0]) * o.grid[0]; 
    1387                                 pageX = this.containment ? (!(left - this.offset.click.left < this.containment[0] || left - this.offset.click.left > this.containment[2]) ? left : (!(left - this.offset.click.left < this.containment[0]) ? left - o.grid[0] : left + o.grid[0])) : left; 
     1429                                pageX = containment ? (!(left - this.offset.click.left < containment[0] || left - this.offset.click.left > containment[2]) ? left : (!(left - this.offset.click.left < containment[0]) ? left - o.grid[0] : left + o.grid[0])) : left; 
    13881430                        } 
    13891431 
     
    14401482 
    14411483$.extend($.ui.draggable, { 
    1442         version: "1.8.12" 
     1484        version: "1.8.13" 
    14431485}); 
    14441486 
     
    15101552 
    15111553                $.each(inst.sortables, function(i) { 
    1512  
     1554                         
    15131555                        //Copy over some variables to allow calling the sortable's native _intersectsWith 
    15141556                        this.instance.positionAbs = inst.positionAbs; 
    15151557                        this.instance.helperProportions = inst.helperProportions; 
    15161558                        this.instance.offset.click = inst.offset.click; 
    1517  
     1559                         
    15181560                        if(this.instance._intersectsWith(this.instance.containerCache)) { 
    15191561 
     
    15251567                                        //by cloning the list group item, appending it to the sortable and using it as inst.currentItem 
    15261568                                        //We can then fire the start event of the sortable with our passed browser event, and our own helper (so it doesn't create a new one) 
    1527                                         this.instance.currentItem = $(self).clone().appendTo(this.instance.element).data("sortable-item", true); 
     1569                                        this.instance.currentItem = $(self).clone().removeAttr('id').appendTo(this.instance.element).data("sortable-item", true); 
    15281570                                        this.instance.options._helper = this.instance.options.helper; //Store helper option to later restore it 
    15291571                                        this.instance.options.helper = function() { return ui.helper[0]; }; 
     
    15581600                                        this.instance.isOver = 0; 
    15591601                                        this.instance.cancelHelperRemoval = true; 
    1560  
     1602                                         
    15611603                                        //Prevent reverting on this forced stop 
    15621604                                        this.instance.options.revert = false; 
    1563  
     1605                                         
    15641606                                        // The out event needs to be triggered independently 
    15651607                                        this.instance._trigger('out', event, this.instance._uiHash(this.instance)); 
    1566  
     1608                                         
    15671609                                        this.instance._mouseStop(event, true); 
    15681610                                        this.instance.options.helper = this.instance.options._helper; 
     
    15921634                var o = $(this).data('draggable').options; 
    15931635                if (o._cursor) $('body').css("cursor", o._cursor); 
    1594         } 
    1595 }); 
    1596  
    1597 $.ui.plugin.add("draggable", "iframeFix", { 
    1598         start: function(event, ui) { 
    1599                 var o = $(this).data('draggable').options; 
    1600                 $(o.iframeFix === true ? "iframe" : o.iframeFix).each(function() { 
    1601                         $('<div class="ui-draggable-iframeFix" style="background: #fff;"></div>') 
    1602                         .css({ 
    1603                                 width: this.offsetWidth+"px", height: this.offsetHeight+"px", 
    1604                                 position: "absolute", opacity: "0.001", zIndex: 1000 
    1605                         }) 
    1606                         .css($(this).offset()) 
    1607                         .appendTo("body"); 
    1608                 }); 
    1609         }, 
    1610         stop: function(event, ui) { 
    1611                 $("div.ui-draggable-iframeFix").each(function() { this.parentNode.removeChild(this); }); //Remove frame helpers 
    16121636        } 
    16131637}); 
     
    17521776                }); 
    17531777                if (!group.length) { return; } 
    1754  
     1778                 
    17551779                var min = parseInt(group[0].style.zIndex) || 0; 
    17561780                $(group).each(function(i) { 
     
    17771801})(jQuery); 
    17781802/* 
    1779  * jQuery UI Droppable 1.8.12 
     1803 * jQuery UI Droppable 1.8.13 
    17801804 * 
    17811805 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    19251949 
    19261950$.extend($.ui.droppable, { 
    1927         version: "1.8.12" 
     1951        version: "1.8.13" 
    19281952}); 
    19291953 
     
    20622086})(jQuery); 
    20632087/* 
    2064  * jQuery UI Resizable 1.8.12 
     2088 * jQuery UI Resizable 1.8.13 
    20652089 * 
    20662090 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    22392263                                .addClass("ui-resizable-autohide") 
    22402264                                .hover(function() { 
     2265                                        if (o.disabled) return; 
    22412266                                        $(this).removeClass("ui-resizable-autohide"); 
    22422267                                        self._handles.show(); 
    22432268                                }, 
    22442269                                function(){ 
     2270                                        if (o.disabled) return; 
    22452271                                        if (!self.resizing) { 
    22462272                                                $(this).addClass("ui-resizable-autohide"); 
     
    25822608 
    25832609$.extend($.ui.resizable, { 
    2584         version: "1.8.12" 
     2610        version: "1.8.13" 
    25852611}); 
    25862612 
     
    26232649                _alsoResize = function (exp, c) { 
    26242650                        $(exp).each(function() { 
    2625                                 var el = $(this), start = $(this).data("resizable-alsoresize"), style = {}, 
     2651                                var el = $(this), start = $(this).data("resizable-alsoresize"), style = {},  
    26262652                                        css = c && c.length ? c : el.parents(ui.originalElement[0]).length ? ['width', 'height'] : ['width', 'height', 'top', 'left']; 
    26272653 
     
    28742900})(jQuery); 
    28752901/* 
    2876  * jQuery UI Selectable 1.8.12 
     2902 * jQuery UI Selectable 1.8.13 
    28772903 * 
    28782904 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    31353161 
    31363162$.extend($.ui.selectable, { 
    3137         version: "1.8.12" 
     3163        version: "1.8.13" 
    31383164}); 
    31393165 
    31403166})(jQuery); 
    31413167/* 
    3142  * jQuery UI Sortable 1.8.12 
     3168 * jQuery UI Sortable 1.8.13 
    31433169 * 
    31443170 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    31913217 
    31923218                //Let's determine if the items are being displayed horizontally 
    3193                 this.floating = this.items.length ? (/left|right/).test(this.items[0].item.css('float')) || (/inline|table-cell/).test(this.items[0].item.css('display')) : false; 
     3219                this.floating = this.items.length ? o.axis === 'x' || (/left|right/).test(this.items[0].item.css('float')) || (/inline|table-cell/).test(this.items[0].item.css('display')) : false; 
    31943220 
    31953221                //Let's determine the parent's offset 
     
    32173243                if ( key === "disabled" ) { 
    32183244                        this.options[ key ] = value; 
    3219  
     3245         
    32203246                        this.widget() 
    32213247                                [ value ? "addClass" : "removeClass"]( "ui-sortable-disabled" ); 
     
    36573683                        : options.connectWith; 
    36583684        }, 
    3659  
     3685         
    36603686        _getItemsAsjQuery: function(connected) { 
    36613687 
     
    38303856 
    38313857        _contactContainers: function(event) { 
    3832  
    3833                 // get innermost container that intersects with item 
    3834                 var innermostContainer = null, innermostIndex = null; 
    3835  
    3836  
     3858                 
     3859                // get innermost container that intersects with item  
     3860                var innermostContainer = null, innermostIndex = null;            
     3861                 
     3862                 
    38373863                for (var i = this.containers.length - 1; i >= 0; i--){ 
    38383864 
    3839                         // never consider a container that's located within the item itself 
     3865                        // never consider a container that's located within the item itself  
    38403866                        if($.ui.contains(this.currentItem[0], this.containers[i].element[0])) 
    38413867                                continue; 
     
    38433869                        if(this._intersectsWith(this.containers[i].containerCache)) { 
    38443870 
    3845                                 // if we've already found a container and it's more "inner" than this, then continue 
     3871                                // if we've already found a container and it's more "inner" than this, then continue  
    38463872                                if(innermostContainer && $.ui.contains(this.containers[i].element[0], innermostContainer.element[0])) 
    38473873                                        continue; 
    38483874 
    3849                                 innermostContainer = this.containers[i]; 
     3875                                innermostContainer = this.containers[i];  
    38503876                                innermostIndex = i; 
    3851  
     3877                                         
    38523878                        } else { 
    3853                                 // container doesn't intersect. trigger "out" event if necessary 
     3879                                // container doesn't intersect. trigger "out" event if necessary  
    38543880                                if(this.containers[i].containerCache.over) { 
    38553881                                        this.containers[i]._trigger("out", event, this._uiHash(this)); 
     
    38593885 
    38603886                } 
    3861  
    3862                 // if no intersecting containers found, return 
    3863                 if(!innermostContainer) return; 
     3887                 
     3888                // if no intersecting containers found, return  
     3889                if(!innermostContainer) return;  
    38643890 
    38653891                // move the item into the container if it's not there already 
     
    38673893                        this.containers[innermostIndex]._trigger("over", event, this._uiHash(this)); 
    38683894                        this.containers[innermostIndex].containerCache.over = 1; 
    3869                 } else if(this.currentContainer != this.containers[innermostIndex]) { 
    3870  
    3871                         //When entering a new container, we will find the item with the least distance and append our item near it 
    3872                         var dist = 10000; var itemWithLeastDistance = null; var base = this.positionAbs[this.containers[innermostIndex].floating ? 'left' : 'top']; 
    3873                         for (var j = this.items.length - 1; j >= 0; j--) { 
    3874                                 if(!$.ui.contains(this.containers[innermostIndex].element[0], this.items[j].item[0])) continue; 
    3875                                 var cur = this.items[j][this.containers[innermostIndex].floating ? 'left' : 'top']; 
    3876                                 if(Math.abs(cur - base) < dist) { 
    3877                                         dist = Math.abs(cur - base); itemWithLeastDistance = this.items[j]; 
    3878                                 } 
    3879                         } 
    3880  
    3881                         if(!itemWithLeastDistance && !this.options.dropOnEmpty) //Check if dropOnEmpty is enabled 
    3882                                 return; 
    3883  
    3884                         this.currentContainer = this.containers[innermostIndex]; 
    3885                         itemWithLeastDistance ? this._rearrange(event, itemWithLeastDistance, null, true) : this._rearrange(event, null, this.containers[innermostIndex].element, true); 
    3886                         this._trigger("change", event, this._uiHash()); 
    3887                         this.containers[innermostIndex]._trigger("change", event, this._uiHash(this)); 
    3888  
    3889                         //Update the placeholder 
    3890                         this.options.placeholder.update(this.currentContainer, this.placeholder); 
    3891  
    3892                         this.containers[innermostIndex]._trigger("over", event, this._uiHash(this)); 
     3895                } else if(this.currentContainer != this.containers[innermostIndex]) {  
     3896 
     3897                        //When entering a new container, we will find the item with the least distance and append our item near it  
     3898                        var dist = 10000; var itemWithLeastDistance = null; var base = this.positionAbs[this.containers[innermostIndex].floating ? 'left' : 'top'];  
     3899                        for (var j = this.items.length - 1; j >= 0; j--) {  
     3900                                if(!$.ui.contains(this.containers[innermostIndex].element[0], this.items[j].item[0])) continue;  
     3901                                var cur = this.items[j][this.containers[innermostIndex].floating ? 'left' : 'top'];  
     3902                                if(Math.abs(cur - base) < dist) {  
     3903                                        dist = Math.abs(cur - base); itemWithLeastDistance = this.items[j];  
     3904                                }  
     3905                        }  
     3906 
     3907                        if(!itemWithLeastDistance && !this.options.dropOnEmpty) //Check if dropOnEmpty is enabled  
     3908                                return;  
     3909 
     3910                        this.currentContainer = this.containers[innermostIndex];  
     3911                        itemWithLeastDistance ? this._rearrange(event, itemWithLeastDistance, null, true) : this._rearrange(event, null, this.containers[innermostIndex].element, true);  
     3912                        this._trigger("change", event, this._uiHash());  
     3913                        this.containers[innermostIndex]._trigger("change", event, this._uiHash(this));  
     3914 
     3915                        //Update the placeholder  
     3916                        this.options.placeholder.update(this.currentContainer, this.placeholder);  
     3917                 
     3918                        this.containers[innermostIndex]._trigger("over", event, this._uiHash(this));  
    38933919                        this.containers[innermostIndex].containerCache.over = 1; 
    3894                 } 
    3895  
    3896  
     3920                }  
     3921         
     3922                 
    38973923        }, 
    38983924 
     
    42124238 
    42134239$.extend($.ui.sortable, { 
    4214         version: "1.8.12" 
     4240        version: "1.8.13" 
    42154241}); 
    42164242 
    42174243})(jQuery); 
    42184244/* 
    4219  * jQuery UI Accordion 1.8.12 
     4245 * jQuery UI Accordion 1.8.13 
    42204246 * 
    42214247 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    43164342                self._createIcons(); 
    43174343                self.resize(); 
    4318  
     4344                 
    43194345                // ARIA 
    43204346                self.element.attr( "role", "tablist" ); 
     
    44114437        _setOption: function( key, value ) { 
    44124438                $.Widget.prototype._setOption.apply( this, arguments ); 
    4413  
     4439                         
    44144440                if ( key == "active" ) { 
    44154441                        this.activate( value ); 
     
    47364762 
    47374763$.extend( $.ui.accordion, { 
    4738         version: "1.8.12", 
     4764        version: "1.8.13", 
    47394765        animations: { 
    47404766                slide: function( options, additions ) { 
     
    48284854})( jQuery ); 
    48294855/* 
    4830  * jQuery UI Autocomplete 1.8.12 
     4856 * jQuery UI Autocomplete 1.8.13 
    48314857 * 
    48324858 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    51545180                } 
    51555181        }, 
    5156  
     5182         
    51575183        _change: function( event ) { 
    51585184                if ( this.previous !== this.element.val() ) { 
     
    52585284/* 
    52595285 * jQuery UI Menu (not officially released) 
    5260  * 
     5286 *  
    52615287 * This widget isn't yet finished and the API is subject to change. We plan to finish 
    52625288 * it for the next release. You're welcome to give it a try anyway and give us feedback, 
     
    52945320                this.refresh(); 
    52955321        }, 
    5296  
     5322         
    52975323        refresh: function() { 
    52985324                var self = this; 
     
    53025328                        .addClass("ui-menu-item") 
    53035329                        .attr("role", "menuitem"); 
    5304  
     5330                 
    53055331                items.children("a") 
    53065332                        .addClass("ui-corner-all") 
     
    53195345                if (this.hasScroll()) { 
    53205346                        var offset = item.offset().top - this.element.offset().top, 
    5321                                 scroll = this.element.attr("scrollTop"), 
     5347                                scroll = this.element.scrollTop(), 
    53225348                                elementHeight = this.element.height(); 
    53235349                        if (offset < 0) { 
    5324                                 this.element.attr("scrollTop", scroll + offset); 
     5350                                this.element.scrollTop( scroll + offset); 
    53255351                        } else if (offset >= elementHeight) { 
    5326                                 this.element.attr("scrollTop", scroll + offset - elementHeight + item.height()); 
     5352                                this.element.scrollTop( scroll + offset - elementHeight + item.height()); 
    53275353                        } 
    53285354                } 
     
    54305456 
    54315457        hasScroll: function() { 
    5432                 return this.element.height() < this.element.attr("scrollHeight"); 
     5458                return this.element.height() < this.element[ $.fn.prop ? "prop" : "attr" ]("scrollHeight"); 
    54335459        }, 
    54345460 
     
    54405466}(jQuery)); 
    54415467/* 
    5442  * jQuery UI Button 1.8.12 
     5468 * jQuery UI Button 1.8.13 
    54435469 * 
    54445470 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    55435569                        .bind( "blur.button", function() { 
    55445570                                $( this ).removeClass( focusClass ); 
     5571                        }) 
     5572                        .bind( "click.button", function( event ) { 
     5573                                if ( options.disabled ) { 
     5574                                        event.stopImmediatePropagation(); 
     5575                                } 
    55455576                        }); 
    55465577 
     
    57365767                        icons = this.options.icons, 
    57375768                        multipleIcons = icons.primary && icons.secondary, 
    5738                         buttonClasses = []; 
     5769                        buttonClasses = [];   
    57395770 
    57405771                if ( icons.primary || icons.secondary ) { 
     
    57735804                this.element.addClass( "ui-buttonset" ); 
    57745805        }, 
    5775  
     5806         
    57765807        _init: function() { 
    57775808                this.refresh(); 
     
    57855816                $.Widget.prototype._setOption.apply( this, arguments ); 
    57865817        }, 
    5787  
     5818         
    57885819        refresh: function() { 
    57895820                this.buttons = this.element.find( this.options.items ) 
     
    58235854}( jQuery ) ); 
    58245855/* 
    5825  * jQuery UI Dialog 1.8.12 
     5856 * jQuery UI Dialog 1.8.13 
    58265857 * 
    58275858 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    59365967                                        if (options.closeOnEscape && event.keyCode && 
    59375968                                                event.keyCode === $.ui.keyCode.ESCAPE) { 
    5938  
     5969                                                 
    59395970                                                self.close(event); 
    59405971                                                event.preventDefault(); 
     
    60386069        destroy: function() { 
    60396070                var self = this; 
    6040  
     6071                 
    60416072                if (self.overlay) { 
    60426073                        self.overlay.destroy(); 
     
    60646095                var self = this, 
    60656096                        maxZ, thisZ; 
    6066  
     6097                 
    60676098                if (false === self._trigger('beforeClose', event)) { 
    60686099                        return; 
     
    63576388                                        offset: offset.join(" ") 
    63586389                                }; 
    6359                         } 
     6390                        }  
    63606391 
    63616392                        position = $.extend({}, $.ui.dialog.prototype.options.position, position); 
     
    63856416                $.each( options, function( key, value ) { 
    63866417                        self._setOption( key, value ); 
    6387  
     6418                         
    63886419                        if ( key in sizeRelatedOptions ) { 
    63896420                                resize = true; 
     
    64376468                                        uiDialog.draggable( "destroy" ); 
    64386469                                } 
    6439  
     6470                                 
    64406471                                if ( !isDraggable && value ) { 
    64416472                                        self._makeDraggable(); 
     
    64996530                        .height(); 
    65006531                minContentHeight = Math.max( 0, options.minHeight - nonContentHeight ); 
    6501  
     6532                 
    65026533                if ( options.height === "auto" ) { 
    65036534                        // only needed for IE6 support 
     
    65266557 
    65276558$.extend($.ui.dialog, { 
    6528         version: "1.8.12", 
     6559        version: "1.8.13", 
    65296560 
    65306561        uuid: 0, 
     
    65746605                                if (dialog.options.closeOnEscape && event.keyCode && 
    65756606                                        event.keyCode === $.ui.keyCode.ESCAPE) { 
    6576  
     6607                                         
    65776608                                        dialog.close(event); 
    65786609                                        event.preventDefault(); 
     
    66106641 
    66116642                $el.remove(); 
    6612  
     6643                 
    66136644                // adjust the maxZ to allow other modal dialogs to continue to work (see #4309) 
    66146645                var maxZ = 0; 
     
    67016732}(jQuery)); 
    67026733/* 
    6703  * jQuery UI Slider 1.8.12 
     6734 * jQuery UI Slider 1.8.13 
    67046735 * 
    67056736 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    67386769        _create: function() { 
    67396770                var self = this, 
    6740                         o = this.options; 
     6771                        o = this.options, 
     6772                        existingHandles = this.element.find( ".ui-slider-handle" ).addClass( "ui-state-default ui-corner-all" ), 
     6773                        handle = "<a class='ui-slider-handle ui-state-default ui-corner-all' href='#'></a>", 
     6774                        handleCount = ( o.values && o.values.length ) || 1, 
     6775                        handles = []; 
    67416776 
    67426777                this._keySliding = false; 
     
    67526787                                " ui-widget" + 
    67536788                                " ui-widget-content" + 
    6754                                 " ui-corner-all" ); 
    6755  
    6756                 if ( o.disabled ) { 
    6757                         this.element.addClass( "ui-slider-disabled ui-disabled" ); 
    6758                 } 
     6789                                " ui-corner-all" + 
     6790                                ( o.disabled ? " ui-slider-disabled ui-disabled" : "" ) ); 
    67596791 
    67606792                this.range = $([]); 
     
    67626794                if ( o.range ) { 
    67636795                        if ( o.range === true ) { 
    6764                                 this.range = $( "<div></div>" ); 
    67656796                                if ( !o.values ) { 
    67666797                                        o.values = [ this._valueMin(), this._valueMin() ]; 
     
    67696800                                        o.values = [ o.values[0], o.values[0] ]; 
    67706801                                } 
    6771                         } else { 
    6772                                 this.range = $( "<div></div>" ); 
    6773                         } 
    6774  
    6775                         this.range 
     6802                        } 
     6803 
     6804                        this.range = $( "<div></div>" ) 
    67766805                                .appendTo( this.element ) 
    6777                                 .addClass( "ui-slider-range" ); 
    6778  
    6779                         if ( o.range === "min" || o.range === "max" ) { 
    6780                                 this.range.addClass( "ui-slider-range-" + o.range ); 
    6781                         } 
    6782  
    6783                         // note: this isn't the most fittingly semantic framework class for this element, 
    6784                         // but worked best visually with a variety of themes 
    6785                         this.range.addClass( "ui-widget-header" ); 
    6786                 } 
    6787  
    6788                 if ( $( ".ui-slider-handle", this.element ).length === 0 ) { 
    6789                         $( "<a href='#'></a>" ) 
    6790                                 .appendTo( this.element ) 
    6791                                 .addClass( "ui-slider-handle" ); 
    6792                 } 
    6793  
    6794                 if ( o.values && o.values.length ) { 
    6795                         while ( $(".ui-slider-handle", this.element).length < o.values.length ) { 
    6796                                 $( "<a href='#'></a>" ) 
    6797                                         .appendTo( this.element ) 
    6798                                         .addClass( "ui-slider-handle" ); 
    6799                         } 
    6800                 } 
    6801  
    6802                 this.handles = $( ".ui-slider-handle", this.element ) 
    6803                         .addClass( "ui-state-default" + 
    6804                                 " ui-corner-all" ); 
     6806                                .addClass( "ui-slider-range" + 
     6807                                // note: this isn't the most fittingly semantic framework class for this element, 
     6808                                // but worked best visually with a variety of themes 
     6809                                " ui-widget-header" +  
     6810                                ( ( o.range === "min" || o.range === "max" ) ? " ui-slider-range-" + o.range : "" ) ); 
     6811                } 
     6812 
     6813                for ( var i = existingHandles.length; i < handleCount; i += 1 ) { 
     6814                        handles.push( handle ); 
     6815                } 
     6816 
     6817                this.handles = existingHandles.add( $( handles.join( "" ) ).appendTo( self.element ) ); 
    68056818 
    68066819                this.handle = this.handles.eq( 0 ); 
     
    68416854                                        newVal, 
    68426855                                        step; 
    6843  
     6856         
    68446857                                if ( self.options.disabled ) { 
    68456858                                        return; 
    68466859                                } 
    6847  
     6860         
    68486861                                switch ( event.keyCode ) { 
    68496862                                        case $.ui.keyCode.HOME: 
     
    68666879                                                break; 
    68676880                                } 
    6868  
     6881         
    68696882                                step = self.options.step; 
    68706883                                if ( self.options.values && self.options.values.length ) { 
     
    68736886                                        curVal = newVal = self.value(); 
    68746887                                } 
    6875  
     6888         
    68766889                                switch ( event.keyCode ) { 
    68776890                                        case $.ui.keyCode.HOME: 
     
    69026915                                                break; 
    69036916                                } 
    6904  
     6917         
    69056918                                self._slide( event, index, newVal ); 
    6906  
     6919         
    69076920                                return ret; 
    6908  
     6921         
    69096922                        }) 
    69106923                        .keyup(function( event ) { 
    69116924                                var index = $( this ).data( "index.ui-slider-handle" ); 
    6912  
     6925         
    69136926                                if ( self._keySliding ) { 
    69146927                                        self._keySliding = false; 
     
    69176930                                        $( this ).removeClass( "ui-state-active" ); 
    69186931                                } 
    6919  
     6932         
    69206933                        }); 
    69216934 
     
    69997012                        .addClass( "ui-state-active" ) 
    70007013                        .focus(); 
    7001  
     7014                 
    70027015                offset = closestHandle.offset(); 
    70037016                mouseOverHandle = !$( event.target ).parents().andSelf().is( ".ui-slider-handle" ); 
     
    70257038                var position = { x: event.pageX, y: event.pageY }, 
    70267039                        normValue = this._normValueFromMouse( position ); 
    7027  
     7040                 
    70287041                this._slide( event, this._handleIndex, normValue ); 
    70297042 
     
    70447057                return false; 
    70457058        }, 
    7046  
     7059         
    70477060        _detectOrientation: function() { 
    70487061                this.orientation = ( this.options.orientation === "vertical" ) ? "vertical" : "horizontal"; 
     
    71017114                        otherVal = this.values( index ? 0 : 1 ); 
    71027115 
    7103                         if ( ( this.options.values.length === 2 && this.options.range === true ) && 
     7116                        if ( ( this.options.values.length === 2 && this.options.range === true ) &&  
    71047117                                        ( ( index === 0 && newVal > otherVal) || ( index === 1 && newVal < otherVal ) ) 
    71057118                                ) { 
     
    72867299                } 
    72877300        }, 
    7288  
     7301         
    72897302        // returns the step-aligned value that val is closest to, between (inclusive) min and max 
    72907303        _trimAlignValue: function( val ) { 
     
    73157328                return this.options.max; 
    73167329        }, 
    7317  
     7330         
    73187331        _refreshValue: function() { 
    73197332                var oRange = this.options.range, 
     
    73807393 
    73817394$.extend( $.ui.slider, { 
    7382         version: "1.8.12" 
     7395        version: "1.8.13" 
    73837396}); 
    73847397 
    73857398}(jQuery)); 
    73867399/* 
    7387  * jQuery UI Tabs 1.8.12 
     7400 * jQuery UI Tabs 1.8.13 
    73887401 * 
    73897402 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    80848097 
    80858098$.extend( $.ui.tabs, { 
    8086         version: "1.8.12" 
     8099        version: "1.8.13" 
    80878100}); 
    80888101 
     
    81068119                                self.select( ++t < self.anchors.length ? t : 0 ); 
    81078120                        }, ms ); 
    8108  
     8121                         
    81098122                        if ( e ) { 
    81108123                                e.stopPropagation(); 
     
    81438156})( jQuery ); 
    81448157/* 
    8145  * jQuery UI Datepicker 1.8.12 
     8158 * jQuery UI Datepicker 1.8.13 
    81468159 * 
    81478160 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    81568169(function( $, undefined ) { 
    81578170 
    8158 $.extend($.ui, { datepicker: { version: "1.8.12" } }); 
     8171$.extend($.ui, { datepicker: { version: "1.8.13" } }); 
    81598172 
    81608173var PROP_NAME = 'datepicker'; 
    81618174var dpuuid = new Date().getTime(); 
     8175var instActive; 
    81628176 
    81638177/* Date picker manager. 
     
    82528266        }; 
    82538267        $.extend(this._defaults, this.regional['']); 
    8254         this.dpDiv = $('<div id="' + this._mainDivId + '" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>'); 
     8268        this.dpDiv = bindHover($('<div id="' + this._mainDivId + '" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>')); 
    82558269} 
    82568270 
     
    82648278                        console.log.apply('', arguments); 
    82658279        }, 
    8266  
     8280         
    82678281        // TODO rename to "widget" when switching to widget factory 
    82688282        _widgetDatepicker: function() { 
     
    83188332                        inline: inline, // is datepicker inline or not 
    83198333                        dpDiv: (!inline ? this.dpDiv : // presentation div 
    8320                         $('<div class="' + this._inlineClass + ' ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>'))}; 
     8334                        bindHover($('<div class="' + this._inlineClass + ' ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>')))}; 
    83218335        }, 
    83228336 
     
    85088522                        var inline = $target.children('.' + this._inlineClass); 
    85098523                        inline.children().removeClass('ui-state-disabled'); 
     8524                        inline.find("select.ui-datepicker-month, select.ui-datepicker-year"). 
     8525                                removeAttr("disabled"); 
    85108526                } 
    85118527                this._disabledInputs = $.map(this._disabledInputs, 
     
    85318547                        var inline = $target.children('.' + this._inlineClass); 
    85328548                        inline.children().addClass('ui-state-disabled'); 
     8549                        inline.find("select.ui-datepicker-month, select.ui-datepicker-year"). 
     8550                                attr("disabled", "disabled"); 
    85338551                } 
    85348552                this._disabledInputs = $.map(this._disabledInputs, 
     
    86538671                                                handled = false; 
    86548672                                                break; // hide on tab out 
    8655                                 case 13: var sel = $('td.' + $.datepicker._dayOverClass + ':not(.' + 
     8673                                case 13: var sel = $('td.' + $.datepicker._dayOverClass + ':not(.' +  
    86568674                                                                        $.datepicker._currentClass + ')', inst.dpDiv); 
    86578675                                                if (sel[0]) 
     
    87938811                        var duration = $.datepicker._get(inst, 'duration'); 
    87948812                        var postProcess = function() { 
    8795                                 $.datepicker._datepickerShowing = true; 
    87968813                                var cover = inst.dpDiv.find('iframe.ui-datepicker-cover'); // IE6- only 
    87978814                                if( !! cover.length ){ 
     
    88028819                        }; 
    88038820                        inst.dpDiv.zIndex($(input).zIndex()+1); 
     8821                        $.datepicker._datepickerShowing = true; 
    88048822                        if ($.effects && $.effects[showAnim]) 
    88058823                                inst.dpDiv.show(showAnim, $.datepicker._get(inst, 'showOptions'), duration, postProcess); 
     
    88188836                var self = this; 
    88198837                var borders = $.datepicker._getBorders(inst.dpDiv); 
     8838                instActive = inst; // for delegate hover events 
    88208839                inst.dpDiv.empty().append(this._generateHTML(inst)); 
    88218840                var cover = inst.dpDiv.find('iframe.ui-datepicker-cover'); // IE6- only 
     
    88238842                        cover.css({left: -borders[0], top: -borders[1], width: inst.dpDiv.outerWidth(), height: inst.dpDiv.outerHeight()}) 
    88248843                } 
    8825                 inst.dpDiv.find('button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a') 
    8826                                 .bind('mouseout', function(){ 
    8827                                         $(this).removeClass('ui-state-hover'); 
    8828                                         if(this.className.indexOf('ui-datepicker-prev') != -1) $(this).removeClass('ui-datepicker-prev-hover'); 
    8829                                         if(this.className.indexOf('ui-datepicker-next') != -1) $(this).removeClass('ui-datepicker-next-hover'); 
    8830                                 }) 
    8831                                 .bind('mouseover', function(){ 
    8832                                         if (!self._isDisabledDatepicker( inst.inline ? inst.dpDiv.parent()[0] : inst.input[0])) { 
    8833                                                 $(this).parents('.ui-datepicker-calendar').find('a').removeClass('ui-state-hover'); 
    8834                                                 $(this).addClass('ui-state-hover'); 
    8835                                                 if(this.className.indexOf('ui-datepicker-prev') != -1) $(this).addClass('ui-datepicker-prev-hover'); 
    8836                                                 if(this.className.indexOf('ui-datepicker-next') != -1) $(this).addClass('ui-datepicker-next-hover'); 
    8837                                         } 
    8838                                 }) 
    8839                         .end() 
    8840                         .find('.' + this._dayOverClass + ' a') 
    8841                                 .trigger('mouseover') 
    8842                         .end(); 
     8844                inst.dpDiv.find('.' + this._dayOverClass + ' a').mouseover(); 
    88438845                var numMonths = this._getNumberOfMonths(inst); 
    88448846                var cols = numMonths[1]; 
    88458847                var width = 17; 
     8848                inst.dpDiv.removeClass('ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4').width(''); 
    88468849                if (cols > 1) 
    88478850                        inst.dpDiv.addClass('ui-datepicker-multi-' + cols).css('width', (width * cols) + 'em'); 
    8848                 else 
    8849                         inst.dpDiv.removeClass('ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4').width(''); 
    88508851                inst.dpDiv[(numMonths[0] != 1 || numMonths[1] != 1 ? 'add' : 'remove') + 
    88518852                        'Class']('ui-datepicker-multi'); 
     
    88578858                                inst.input.is(':visible') && !inst.input.is(':disabled') && inst.input[0] != document.activeElement) 
    88588859                        inst.input.focus(); 
    8859                 // deffered render of the years select (to avoid flashes on Firefox) 
     8860                // deffered render of the years select (to avoid flashes on Firefox)  
    88608861                if( inst.yearshtml ){ 
    88618862                        var origyearshtml = inst.yearshtml; 
     
    91539154                // Extract a name from the string value and convert to an index 
    91549155                var getName = function(match, shortNames, longNames) { 
    9155                         var names = (lookAhead(match) ? longNames : shortNames); 
    9156                         for (var i = 0; i < names.length; i++) { 
    9157                                 if (value.substr(iValue, names[i].length).toLowerCase() == names[i].toLowerCase()) { 
    9158                                         iValue += names[i].length; 
    9159                                         return i + 1; 
     9156                        var names = $.map(lookAhead(match) ? longNames : shortNames, function (v, k) { 
     9157                                return [ [k, v] ]; 
     9158                        }).sort(function (a, b) { 
     9159                                return -(a[1].length - b[1].length); 
     9160                        }); 
     9161                        var index = -1; 
     9162                        $.each(names, function (i, pair) { 
     9163                                var name = pair[1]; 
     9164                                if (value.substr(iValue, name.length).toLowerCase() == name.toLowerCase()) { 
     9165                                        index = pair[0]; 
     9166                                        iValue += name.length; 
     9167                                        return false; 
    91609168                                } 
    9161                         } 
    9162                         throw 'Unknown name at position ' + iValue; 
     9169                        }); 
     9170                        if (index != -1) 
     9171                                return index + 1; 
     9172                        else 
     9173                                throw 'Unknown name at position ' + iValue; 
    91639174                }; 
    91649175                // Confirm that a literal character matches the string value 
     
    96809691                                        drawYear++; 
    96819692                                } 
    9682                                 calender += '</tbody></table>' + (isMultiMonth ? '</div>' + 
     9693                                calender += '</tbody></table>' + (isMultiMonth ? '</div>' +  
    96839694                                                        ((numMonths[0] > 0 && col == numMonths[1]-1) ? '<div class="ui-datepicker-row-break"></div>' : '') : ''); 
    96849695                                group += calender; 
     
    97509761                                } 
    97519762                                inst.yearshtml += '</select>'; 
     9763                                 
    97529764                                html += inst.yearshtml; 
    97539765                                inst.yearshtml = null; 
     
    98569868}); 
    98579869 
     9870/* 
     9871 * Bind hover events for datepicker elements. 
     9872 * Done via delegate so the binding only occurs once in the lifetime of the parent div. 
     9873 * Global instActive, set by _updateDatepicker allows the handlers to find their way back to the active picker. 
     9874 */  
     9875function bindHover(dpDiv) { 
     9876        var selector = 'button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a'; 
     9877        return dpDiv.delegate(selector, 'mouseout', function() { 
     9878                        $(this).removeClass('ui-state-hover'); 
     9879                        if (this.className.indexOf('ui-datepicker-prev') != -1) $(this).removeClass('ui-datepicker-prev-hover'); 
     9880                        if (this.className.indexOf('ui-datepicker-next') != -1) $(this).removeClass('ui-datepicker-next-hover'); 
     9881                }) 
     9882                .delegate(selector, 'mouseover', function(){ 
     9883                        if (!$.datepicker._isDisabledDatepicker( instActive.inline ? dpDiv.parent()[0] : instActive.input[0])) { 
     9884                                $(this).parents('.ui-datepicker-calendar').find('a').removeClass('ui-state-hover'); 
     9885                                $(this).addClass('ui-state-hover'); 
     9886                                if (this.className.indexOf('ui-datepicker-prev') != -1) $(this).addClass('ui-datepicker-prev-hover'); 
     9887                                if (this.className.indexOf('ui-datepicker-next') != -1) $(this).addClass('ui-datepicker-next-hover'); 
     9888                        } 
     9889                }); 
     9890} 
     9891 
    98589892/* jQuery extend now ignores nulls! */ 
    98599893function extendRemove(target, props) { 
     
    98769910   @return  jQuery object */ 
    98779911$.fn.datepicker = function(options){ 
    9878  
     9912         
    98799913        /* Verify an empty collection wasn't passed - Fixes #6976 */ 
    98809914        if ( !this.length ) { 
    98819915                return this; 
    98829916        } 
    9883  
     9917         
    98849918        /* Initialise the date picker. */ 
    98859919        if (!$.datepicker.initialized) { 
     
    99079941$.datepicker.initialized = false; 
    99089942$.datepicker.uuid = new Date().getTime(); 
    9909 $.datepicker.version = "1.8.12"; 
     9943$.datepicker.version = "1.8.13"; 
    99109944 
    99119945// Workaround for #4055 
     
    99159949})(jQuery); 
    99169950/* 
    9917  * jQuery UI Progressbar 1.8.12 
     9951 * jQuery UI Progressbar 1.8.13 
    99189952 * 
    99199953 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    1001910053 
    1002010054$.extend( $.ui.progressbar, { 
    10021         version: "1.8.12" 
     10055        version: "1.8.13" 
    1002210056}); 
    1002310057 
    1002410058})( jQuery ); 
    1002510059/* 
    10026  * jQuery UI Effects 1.8.12 
     10060 * jQuery UI Effects 1.8.13 
    1002710061 * 
    1002810062 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    1020910243                } 
    1021010244        } 
    10211  
     10245         
    1021210246        return newStyle; 
    1021310247} 
     
    1023310267                } 
    1023410268        } 
    10235  
     10269         
    1023610270        return styles; 
    1023710271} 
     
    1025610290        } 
    1025710291 
    10258         return this.queue('fx', function() { 
     10292        return this.queue(function() { 
    1025910293                var that = $(this), 
    1026010294                        originalStyleAttr = that.attr('style') || ' ', 
    1026110295                        originalStyle = filterStyles(getElementStyles.call(this)), 
    1026210296                        newStyle, 
    10263                         className = that.attr('className'); 
     10297                        className = that.attr('class'); 
    1026410298 
    1026510299                $.each(classAnimationActions, function(i, action) { 
     
    1026910303                }); 
    1027010304                newStyle = filterStyles(getElementStyles.call(this)); 
    10271                 that.attr('className', className); 
    10272  
    10273                 that.animate(styleDifference(originalStyle, newStyle), duration, easing, function() { 
    10274                         $.each(classAnimationActions, function(i, action) { 
    10275                                 if (value[action]) { that[action + 'Class'](value[action]); } 
    10276                         }); 
    10277                         // work around bug in IE by clearing the cssText before setting it 
    10278                         if (typeof that.attr('style') == 'object') { 
    10279                                 that.attr('style').cssText = ''; 
    10280                                 that.attr('style').cssText = originalStyleAttr; 
    10281                         } else { 
    10282                                 that.attr('style', originalStyleAttr); 
    10283                         } 
    10284                         if (callback) { callback.apply(this, arguments); } 
     10305                that.attr('class', className); 
     10306 
     10307                that.animate(styleDifference(originalStyle, newStyle), { 
     10308                        queue: false, 
     10309                        duration: duration, 
     10310                        easding: easing, 
     10311                        complete: function() { 
     10312                                $.each(classAnimationActions, function(i, action) { 
     10313                                        if (value[action]) { that[action + 'Class'](value[action]); } 
     10314                                }); 
     10315                                // work around bug in IE by clearing the cssText before setting it 
     10316                                if (typeof that.attr('style') == 'object') { 
     10317                                        that.attr('style').cssText = ''; 
     10318                                        that.attr('style').cssText = originalStyleAttr; 
     10319                                } else { 
     10320                                        that.attr('style', originalStyleAttr); 
     10321                                } 
     10322                                if (callback) { callback.apply(this, arguments); } 
     10323                                $.dequeue( this ); 
     10324                        } 
    1028510325                }); 
    10286  
    10287                 // $.animate adds a function to the end of the queue 
    10288                 // but we want it at the front 
    10289                 var queue = $.queue(this), 
    10290                         anim = queue.splice(queue.length - 1, 1)[0]; 
    10291                 queue.splice(1, 0, anim); 
    10292                 $.dequeue(this); 
    1029310326        }); 
    1029410327}; 
     
    1033210365 
    1033310366$.extend($.effects, { 
    10334         version: "1.8.12", 
     10367        version: "1.8.13", 
    1033510368 
    1033610369        // Saves a set of properties in a data storage 
     
    1047510508                return true; 
    1047610509        } 
    10477  
     10510         
    1047810511        // invalid strings - treat as "normal" speed 
    1047910512        if ( typeof speed === "string" && !$.effects[ speed ] ) { 
    1048010513                return true; 
    1048110514        } 
    10482  
     10515         
    1048310516        return false; 
    1048410517} 
     
    1049510528                        mode = args2.options.mode, 
    1049610529                        effectMethod = $.effects[effect]; 
    10497  
     10530                 
    1049810531                if ( $.fx.off || !effectMethod ) { 
    1049910532                        // delegate to the original method (e.g., .show()) if possible 
     
    1050810541                        } 
    1050910542                } 
    10510  
     10543                 
    1051110544                return effectMethod.call(this, args2); 
    1051210545        }, 
     
    1077110804})(jQuery); 
    1077210805/* 
    10773  * jQuery UI Effects Blind 1.8.12 
     10806 * jQuery UI Effects Blind 1.8.13 
    1077410807 * 
    1077510808 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    1082010853})(jQuery); 
    1082110854/* 
    10822  * jQuery UI Effects Bounce 1.8.12 
     10855 * jQuery UI Effects Bounce 1.8.13 
    1082310856 * 
    1082410857 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    1089810931})(jQuery); 
    1089910932/* 
    10900  * jQuery UI Effects Clip 1.8.12 
     10933 * jQuery UI Effects Clip 1.8.13 
    1090110934 * 
    1090210935 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    1095210985})(jQuery); 
    1095310986/* 
    10954  * jQuery UI Effects Drop 1.8.12 
     10987 * jQuery UI Effects Drop 1.8.13 
    1095510988 * 
    1095610989 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    1100211035})(jQuery); 
    1100311036/* 
    11004  * jQuery UI Effects Explode 1.8.12 
     11037 * jQuery UI Effects Explode 1.8.13 
    1100511038 * 
    1100611039 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    1108111114})(jQuery); 
    1108211115/* 
    11083  * jQuery UI Effects Fade 1.8.12 
     11116 * jQuery UI Effects Fade 1.8.13 
    1108411117 * 
    1108511118 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    1111311146})(jQuery); 
    1111411147/* 
    11115  * jQuery UI Effects Fold 1.8.12 
     11148 * jQuery UI Effects Fold 1.8.13 
    1111611149 * 
    1111711150 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    1116911202})(jQuery); 
    1117011203/* 
    11171  * jQuery UI Effects Highlight 1.8.12 
     11204 * jQuery UI Effects Highlight 1.8.13 
    1117211205 * 
    1117311206 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    1121911252})(jQuery); 
    1122011253/* 
    11221  * jQuery UI Effects Pulsate 1.8.12 
     11254 * jQuery UI Effects Pulsate 1.8.13 
    1122211255 * 
    1122311256 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    1127011303})(jQuery); 
    1127111304/* 
    11272  * jQuery UI Effects Scale 1.8.12 
     11305 * jQuery UI Effects Scale 1.8.13 
    1127311306 * 
    1127411307 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    1144811481})(jQuery); 
    1144911482/* 
    11450  * jQuery UI Effects Shake 1.8.12 
     11483 * jQuery UI Effects Shake 1.8.13 
    1145111484 * 
    1145211485 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    1150511538})(jQuery); 
    1150611539/* 
    11507  * jQuery UI Effects Slide 1.8.12 
     11540 * jQuery UI Effects Slide 1.8.13 
    1150811541 * 
    1150911542 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
     
    1155511588})(jQuery); 
    1155611589/* 
    11557  * jQuery UI Effects Transfer 1.8.12 
     11590 * jQuery UI Effects Transfer 1.8.13 
    1155811591 * 
    1155911592 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 
Note: See TracChangeset for help on using the changeset viewer.