Index: branches/wmf/1.16wmf4/extensions/UsabilityInitiative/Vector/Modules/CollapsibleTabs/CollapsibleTabs.js |
— | — | @@ -82,7 +82,6 @@ |
83 | 83 | return; |
84 | 84 | } |
85 | 85 | expContainerSettings.shifting = false; |
86 | | - .shifting = false; |
87 | 86 | $j.collapsibleTabs.handleResize(); |
88 | 87 | } ) ); |
89 | 88 | }; |
Index: branches/wmf/1.16wmf4/extensions/UsabilityInitiative/Vector/Vector.combined.js |
— | — | @@ -301,7 +301,6 @@ |
302 | 302 | return; |
303 | 303 | } |
304 | 304 | expContainerSettings.shifting = false; |
305 | | - .shifting = false; |
306 | 305 | $j.collapsibleTabs.handleResize(); |
307 | 306 | } ) ); |
308 | 307 | }; |
Index: branches/wmf/1.16wmf4/extensions/UsabilityInitiative/Vector/Vector.combined.min.js |
— | — | @@ -20,7 +20,7 @@ |
21 | 21 | var expContainerSettings=$j.collapsibleTabs.getSettings($j(data.expandedContainer));if(!expContainerSettings){return;} |
22 | 22 | expContainerSettings.shifting=true;var $target=$j(data.expandedContainer).find('span.placeholder:first');var expandedWidth=data.expandedWidth;$moving.css("position","relative").css((rtl?'right':'left'),0).css('width','1px');$target.replaceWith($moving.remove().css('width','1px').data('collapsibleTabsSettings',data).animate({width:expandedWidth+"px"},"normal",function(){$j(this).attr('style','display:block;');var data=$j.collapsibleTabs.getSettings($j(ele));if(!data){return;} |
23 | 23 | var expContainerSettings=$j.collapsibleTabs.getSettings($j(data.expandedContainer));if(!expContainerSettings){return;} |
24 | | -expContainerSettings.shifting=false;.shifting=false;$j.collapsibleTabs.handleResize();}));};$j('#p-views ul').bind("beforeTabCollapse",function(){if($j('#p-cactions').css('display')=='none') |
| 24 | +expContainerSettings.shifting=false;$j.collapsibleTabs.handleResize();}));};$j('#p-views ul').bind("beforeTabCollapse",function(){if($j('#p-cactions').css('display')=='none') |
25 | 25 | $j("#p-cactions").addClass("filledPortlet").removeClass("emptyPortlet").find('h5').css('width','1px').animate({'width':'26px'},390);}).bind("beforeTabExpand",function(){if($j('#p-cactions li').length==1) |
26 | 26 | $j("#p-cactions h5").animate({'width':'1px'},370,function(){$j(this).attr('style','').parent().addClass("emptyPortlet").removeClass("filledPortlet");});}).collapsibleTabs({expandCondition:function(eleWidth){if(rtl){return($j('#right-navigation').position().left+$j('#right-navigation').width()+1)<($j('#left-navigation').position().left-eleWidth);}else{return($j('#left-navigation').position().left+$j('#left-navigation').width()+1)<($j('#right-navigation').position().left-eleWidth);}},collapseCondition:function(){if(rtl){return($j('#right-navigation').position().left+$j('#right-navigation').width())>$j('#left-navigation').position().left;}else{return($j('#left-navigation').position().left+$j('#left-navigation').width())>$j('#right-navigation').position().left;}}});});$j(document).ready(function(){if(!wgVectorEnabledModules.editwarning||$j('#wpTextbox1').size()==0){return true;} |
27 | 27 | $j('#wpTextbox1, #wpSummary').each(function(){$j(this).data('origtext',$j(this).val());});var fallbackWindowOnBeforeUnload=window.onbeforeunload;var ourWindowOnBeforeUnload=function(){var fallbackResult=undefined;var retval=undefined;var thisFunc=arguments.callee;if(fallbackWindowOnBeforeUnload){fallbackResult=fallbackWindowOnBeforeUnload();} |