Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-inclu.../js/jquery/ui
File: accordion.js
// Handle activating a panel during the animation for another activation
[500] Fix | Delete
this.prevShow.add( this.prevHide ).stop( true, true );
[501] Fix | Delete
this.prevShow = toShow;
[502] Fix | Delete
this.prevHide = toHide;
[503] Fix | Delete
[504] Fix | Delete
if ( this.options.animate ) {
[505] Fix | Delete
this._animate( toShow, toHide, data );
[506] Fix | Delete
} else {
[507] Fix | Delete
toHide.hide();
[508] Fix | Delete
toShow.show();
[509] Fix | Delete
this._toggleComplete( data );
[510] Fix | Delete
}
[511] Fix | Delete
[512] Fix | Delete
toHide.attr( {
[513] Fix | Delete
"aria-hidden": "true"
[514] Fix | Delete
} );
[515] Fix | Delete
toHide.prev().attr( {
[516] Fix | Delete
"aria-selected": "false",
[517] Fix | Delete
"aria-expanded": "false"
[518] Fix | Delete
} );
[519] Fix | Delete
[520] Fix | Delete
// if we're switching panels, remove the old header from the tab order
[521] Fix | Delete
// if we're opening from collapsed state, remove the previous header from the tab order
[522] Fix | Delete
// if we're collapsing, then keep the collapsing header in the tab order
[523] Fix | Delete
if ( toShow.length && toHide.length ) {
[524] Fix | Delete
toHide.prev().attr( {
[525] Fix | Delete
"tabIndex": -1,
[526] Fix | Delete
"aria-expanded": "false"
[527] Fix | Delete
} );
[528] Fix | Delete
} else if ( toShow.length ) {
[529] Fix | Delete
this.headers.filter( function() {
[530] Fix | Delete
return parseInt( $( this ).attr( "tabIndex" ), 10 ) === 0;
[531] Fix | Delete
} )
[532] Fix | Delete
.attr( "tabIndex", -1 );
[533] Fix | Delete
}
[534] Fix | Delete
[535] Fix | Delete
toShow
[536] Fix | Delete
.attr( "aria-hidden", "false" )
[537] Fix | Delete
.prev()
[538] Fix | Delete
.attr( {
[539] Fix | Delete
"aria-selected": "true",
[540] Fix | Delete
"aria-expanded": "true",
[541] Fix | Delete
tabIndex: 0
[542] Fix | Delete
} );
[543] Fix | Delete
},
[544] Fix | Delete
[545] Fix | Delete
_animate: function( toShow, toHide, data ) {
[546] Fix | Delete
var total, easing, duration,
[547] Fix | Delete
that = this,
[548] Fix | Delete
adjust = 0,
[549] Fix | Delete
boxSizing = toShow.css( "box-sizing" ),
[550] Fix | Delete
down = toShow.length &&
[551] Fix | Delete
( !toHide.length || ( toShow.index() < toHide.index() ) ),
[552] Fix | Delete
animate = this.options.animate || {},
[553] Fix | Delete
options = down && animate.down || animate,
[554] Fix | Delete
complete = function() {
[555] Fix | Delete
that._toggleComplete( data );
[556] Fix | Delete
};
[557] Fix | Delete
[558] Fix | Delete
if ( typeof options === "number" ) {
[559] Fix | Delete
duration = options;
[560] Fix | Delete
}
[561] Fix | Delete
if ( typeof options === "string" ) {
[562] Fix | Delete
easing = options;
[563] Fix | Delete
}
[564] Fix | Delete
[565] Fix | Delete
// fall back from options to animation in case of partial down settings
[566] Fix | Delete
easing = easing || options.easing || animate.easing;
[567] Fix | Delete
duration = duration || options.duration || animate.duration;
[568] Fix | Delete
[569] Fix | Delete
if ( !toHide.length ) {
[570] Fix | Delete
return toShow.animate( this.showProps, duration, easing, complete );
[571] Fix | Delete
}
[572] Fix | Delete
if ( !toShow.length ) {
[573] Fix | Delete
return toHide.animate( this.hideProps, duration, easing, complete );
[574] Fix | Delete
}
[575] Fix | Delete
[576] Fix | Delete
total = toShow.show().outerHeight();
[577] Fix | Delete
toHide.animate( this.hideProps, {
[578] Fix | Delete
duration: duration,
[579] Fix | Delete
easing: easing,
[580] Fix | Delete
step: function( now, fx ) {
[581] Fix | Delete
fx.now = Math.round( now );
[582] Fix | Delete
}
[583] Fix | Delete
} );
[584] Fix | Delete
toShow
[585] Fix | Delete
.hide()
[586] Fix | Delete
.animate( this.showProps, {
[587] Fix | Delete
duration: duration,
[588] Fix | Delete
easing: easing,
[589] Fix | Delete
complete: complete,
[590] Fix | Delete
step: function( now, fx ) {
[591] Fix | Delete
fx.now = Math.round( now );
[592] Fix | Delete
if ( fx.prop !== "height" ) {
[593] Fix | Delete
if ( boxSizing === "content-box" ) {
[594] Fix | Delete
adjust += fx.now;
[595] Fix | Delete
}
[596] Fix | Delete
} else if ( that.options.heightStyle !== "content" ) {
[597] Fix | Delete
fx.now = Math.round( total - toHide.outerHeight() - adjust );
[598] Fix | Delete
adjust = 0;
[599] Fix | Delete
}
[600] Fix | Delete
}
[601] Fix | Delete
} );
[602] Fix | Delete
},
[603] Fix | Delete
[604] Fix | Delete
_toggleComplete: function( data ) {
[605] Fix | Delete
var toHide = data.oldPanel,
[606] Fix | Delete
prev = toHide.prev();
[607] Fix | Delete
[608] Fix | Delete
this._removeClass( toHide, "ui-accordion-content-active" );
[609] Fix | Delete
this._removeClass( prev, "ui-accordion-header-active" )
[610] Fix | Delete
._addClass( prev, "ui-accordion-header-collapsed" );
[611] Fix | Delete
[612] Fix | Delete
// Work around for rendering bug in IE (#5421)
[613] Fix | Delete
if ( toHide.length ) {
[614] Fix | Delete
toHide.parent()[ 0 ].className = toHide.parent()[ 0 ].className;
[615] Fix | Delete
}
[616] Fix | Delete
this._trigger( "activate", null, data );
[617] Fix | Delete
}
[618] Fix | Delete
} );
[619] Fix | Delete
[620] Fix | Delete
} );
[621] Fix | Delete
[622] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function