Ignore:
Timestamp:
Jun 24, 2014, 10:16:59 PM (10 years ago)
Author:
rvelices
Message:

upgrade jquery ui from 1.10.1 to 1.10.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/default/js/ui/jquery.ui.widget.js

    r20824 r28780  
    11/*!
    2  * jQuery UI Widget 1.10.1
     2 * jQuery UI Widget 1.10.4
    33 * http://jqueryui.com
    44 *
    5  * Copyright 2013 jQuery Foundation and other contributors
     5 * Copyright 2014 jQuery Foundation and other contributors
    66 * Released under the MIT license.
    77 * http://jquery.org/license
     
    107107                // always use the name + a colon as the prefix, e.g., draggable:start
    108108                // don't prefix for widgets that aren't DOM-based
    109                 widgetEventPrefix: existingConstructor ? basePrototype.widgetEventPrefix : name
     109                widgetEventPrefix: existingConstructor ? (basePrototype.widgetEventPrefix || name) : name
    110110        }, proxiedPrototype, {
    111111                constructor: constructor,
     
    316316                                }
    317317                                key = parts.pop();
    318                                 if ( value === undefined ) {
     318                                if ( arguments.length === 1 ) {
    319319                                        return curOption[ key ] === undefined ? null : curOption[ key ];
    320320                                }
    321321                                curOption[ key ] = value;
    322322                        } else {
    323                                 if ( value === undefined ) {
     323                                if ( arguments.length === 1 ) {
    324324                                        return this.options[ key ] === undefined ? null : this.options[ key ];
    325325                                }
Note: See TracChangeset for help on using the changeset viewer.