Index: trunk/extensions/UsabilityInitiative/UsabilityInitiative.hooks.php |
— | — | @@ -71,13 +71,12 @@ |
72 | 72 | array( 'src' => 'js/plugins/jquery.color.js', 'version' => 1 ), |
73 | 73 | array( 'src' => 'js/plugins/jquery.cookie.js', 'version' => 4 ), |
74 | 74 | array( 'src' => 'js/plugins/jquery.delayedBind.js', 'version' => 1 ), |
75 | | - array( 'src' => 'js/plugins/jquery.suggestions.js', 'version' => 18 ), |
76 | 75 | array( 'src' => 'js/plugins/jquery.expandableField.js', 'version' => 17 ), |
77 | 76 | array( 'src' => 'js/plugins/jquery.suggestions.js', 'version' => 22 ), |
78 | 77 | array( 'src' => 'js/plugins/jquery.textSelection.js', 'version' => 35 ), |
79 | 78 | array( 'src' => 'js/plugins/jquery.wikiEditor.js', 'version' => 193 ), |
80 | 79 | array( 'src' => 'js/plugins/jquery.wikiEditor.highlight.js', 'version' => 53 ), |
81 | | - array( 'src' => 'js/plugins/jquery.wikiEditor.toolbar.js', 'version' => 66 ), |
| 80 | + array( 'src' => 'js/plugins/jquery.wikiEditor.toolbar.js', 'version' => 67 ), |
82 | 81 | array( 'src' => 'js/plugins/jquery.wikiEditor.dialogs.js', 'version' => 26 ), |
83 | 82 | array( 'src' => 'js/plugins/jquery.wikiEditor.toc.js', 'version' => 98 ), |
84 | 83 | array( 'src' => 'js/plugins/jquery.wikiEditor.preview.js', 'version' => 11 ), |
— | — | @@ -89,10 +88,10 @@ |
90 | 89 | array( 'src' => 'js/thirdparty/contentCollector.js', 'version' => 2 ), |
91 | 90 | ), |
92 | 91 | 'combined' => array( |
93 | | - array( 'src' => 'js/plugins.combined.js', 'version' => 424 ), |
| 92 | + array( 'src' => 'js/plugins.combined.js', 'version' => 425 ), |
94 | 93 | ), |
95 | 94 | 'minified' => array( |
96 | | - array( 'src' => 'js/plugins.combined.min.js', 'version' => 424 ), |
| 95 | + array( 'src' => 'js/plugins.combined.min.js', 'version' => 425 ), |
97 | 96 | ), |
98 | 97 | ), |
99 | 98 | ); |
Index: trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.toolbar.js |
— | — | @@ -599,7 +599,7 @@ |
600 | 600 | $sections |
601 | 601 | .css( 'display', 'block' ) |
602 | 602 | .animate( { 'height': $section.outerHeight() }, $section.outerHeight() * 2, function() { |
603 | | - $this.css( 'overflow', 'visible' ).css( 'height', 'auto' ); |
| 603 | + $( this ).css( 'overflow', 'visible' ).css( 'height', 'auto' ); |
604 | 604 | context.fn.trigger( 'resize' ); |
605 | 605 | } ); |
606 | 606 | } |
Index: trunk/extensions/UsabilityInitiative/js/plugins.combined.js |
— | — | @@ -11776,7 +11776,7 @@ |
11777 | 11777 | $sections |
11778 | 11778 | .css( 'display', 'block' ) |
11779 | 11779 | .animate( { 'height': $section.outerHeight() }, $section.outerHeight() * 2, function() { |
11780 | | - $this.css( 'overflow', 'visible' ).css( 'height', 'auto' ); |
| 11780 | + $( this ).css( 'overflow', 'visible' ).css( 'height', 'auto' ); |
11781 | 11781 | context.fn.trigger( 'resize' ); |
11782 | 11782 | } ); |
11783 | 11783 | } |
Index: trunk/extensions/UsabilityInitiative/js/plugins.combined.min.js |
— | — | @@ -799,7 +799,7 @@ |
800 | 800 | $.wikiEditor.autoMsg(row[cell],['html','text'])+'</span></td>';} |
801 | 801 | html+='</tr>';return html;},buildCharacter:function(character,actions){if(typeof character=='string'){character={'label':character,'action':{'type':'replace','options':{'peri':character}}};}else if(0 in character&&1 in character){character={'label':character[0],'action':{'type':'replace','options':{'peri':character[1]}}};} |
802 | 802 | if('action'in character&&'label'in character){actions[character.label]=character.action;return'<span rel="'+character.label+'">'+character.label+'</span>';}},buildTab:function(context,id,section){var selected=$.cookie('wikiEditor-'+context.instance+'-toolbar-section');if(selected!=null){$.cookie('wikiEditor-'+context.instance+'-toolbar-section',selected,{expires:30,path:'/'});} |
803 | | -return $('<span />').attr({'class':'tab tab-'+id,'rel':id}).append($('<a />').addClass(selected==id?'current':null).attr('href','#').text($.wikiEditor.autoMsg(section,'label')).data('context',context).mouseup(function(e){$(this).blur();}).mousedown(function(e){e.preventDefault();return false;}).click(function(e){var $sections=$(this).data('context').$ui.find('.sections');var $section=$(this).data('context').$ui.find('.section-'+$(this).parent().attr('rel'));var show=$section.css('display')=='none';$previousSections=$section.parent().find('.section-visible');$previousSections.css('position','absolute');$previousSections.removeClass('section-visible');$previousSections.fadeOut('fast',function(){$(this).css('position','relative');});$(this).parent().parent().find('a').removeClass('current');$sections.css('overflow','hidden');function animate($this){$sections.css('display','block').animate({'height':$section.outerHeight()},$section.outerHeight()*2,function(){$this.css('overflow','visible').css('height','auto');context.fn.trigger('resize');});} |
| 803 | +return $('<span />').attr({'class':'tab tab-'+id,'rel':id}).append($('<a />').addClass(selected==id?'current':null).attr('href','#').text($.wikiEditor.autoMsg(section,'label')).data('context',context).mouseup(function(e){$(this).blur();}).mousedown(function(e){e.preventDefault();return false;}).click(function(e){var $sections=$(this).data('context').$ui.find('.sections');var $section=$(this).data('context').$ui.find('.section-'+$(this).parent().attr('rel'));var show=$section.css('display')=='none';$previousSections=$section.parent().find('.section-visible');$previousSections.css('position','absolute');$previousSections.removeClass('section-visible');$previousSections.fadeOut('fast',function(){$(this).css('position','relative');});$(this).parent().parent().find('a').removeClass('current');$sections.css('overflow','hidden');function animate($this){$sections.css('display','block').animate({'height':$section.outerHeight()},$section.outerHeight()*2,function(){$(this).css('overflow','visible').css('height','auto');context.fn.trigger('resize');});} |
804 | 804 | if(show){$section.addClass('section-visible');$section.fadeIn('fast');if($section.hasClass('loading')){$this=$(this);$this.addClass('current loading');setTimeout(function(){$section.trigger('loadSection');animate($(this));$this.removeClass('loading');},1000);}else{animate($(this));$(this).addClass('current');}}else{$sections.css('height',$section.outerHeight()).animate({'height':'hide'},$section.outerHeight()*2,function(){$(this).css({'overflow':'visible','height':0});context.fn.trigger('resize');});} |
805 | 805 | if($.trackAction!=undefined){$.trackAction($section.attr('rel')+'.'+(show?'show':'hide'));} |
806 | 806 | $.cookie('wikiEditor-'+$(this).data('context').instance+'-toolbar-section',show?$section.attr('rel'):null,{expires:30,path:'/'});e.preventDefault();return false;}));},buildSection:function(context,id,section){var $section=$('<div />').attr({'class':section.type+' section section-'+id,'rel':id});var selected=$.cookie('wikiEditor-'+context.instance+'-toolbar-section');var show=selected==id;if(typeof section.deferLoad!='undefined'&§ion.deferLoad&&id!=='main'&&!show){$section.addClass('loading').append($('<div />').addClass('spinner'));$section.bind('loadSection',function(){$.wikiEditor.modules.toolbar.fn.reallyBuildSection(context,section,$section);$section.removeClass('loading');});}else{$.wikiEditor.modules.toolbar.fn.reallyBuildSection(context,section,$section);} |