Index: trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.toolbar.js |
— | — | @@ -401,7 +401,6 @@ |
402 | 402 | $.eachAsync( sectionQueue, { |
403 | 403 | 'bulk': 0, |
404 | 404 | 'loop': function( i, s ) { |
405 | | - console.log( i ); |
406 | 405 | s.$sections.append( |
407 | 406 | $.wikiEditor.modules.toolbar.fn.buildSection( |
408 | 407 | s.context, s.section, s.config |
Index: trunk/extensions/UsabilityInitiative/js/plugins.combined.js |
— | — | @@ -1260,7 +1260,6 @@ |
1261 | 1261 | $.eachAsync( sectionQueue, { |
1262 | 1262 | 'bulk': 0, |
1263 | 1263 | 'loop': function( i, s ) { |
1264 | | - console.log( i ); |
1265 | 1264 | s.$sections.append( |
1266 | 1265 | $.wikiEditor.modules.toolbar.fn.buildSection( |
1267 | 1266 | s.context, s.section, s.config |
Index: trunk/extensions/UsabilityInitiative/js/plugins.combined.min.js |
— | — | @@ -88,7 +88,7 @@ |
89 | 89 | $page.append($characters);} |
90 | 90 | break;} |
91 | 91 | return $page;},build:function(context,config){var $tabs=$('<div></div>').addClass('tabs').appendTo(context.modules.$toolbar);var $sections=$('<div></div>').addClass('sections').appendTo(context.modules.$toolbar);context.modules.$toolbar.append($('<div></div>').addClass('break'));var selected=$.cookie('wikiEditor-'+context.instance+'-toolbar-section');var sectionQueue=[];for(section in config){if(section=='main'){context.modules.$toolbar.prepend($.wikiEditor.modules.toolbar.fn.buildSection(context,section,config[section]));}else{sectionQueue[sectionQueue.length]={'context':context,'$sections':$sections,'$tabs':$tabs,'section':section,'config':config[section],'selected':(selected==section)};}} |
92 | | -$.eachAsync(sectionQueue,{'bulk':0,'loop':function(i,s){console.log(i);s.$sections.append($.wikiEditor.modules.toolbar.fn.buildSection(s.context,s.section,s.config).css('display',s.selected?'block':'none'));s.$tabs.append($('<span></span>').attr({'class':'tab tab-'+s.section,'rel':s.section}).append($('<a></a>').addClass(s.selected?'current':null).attr('href','#').text($.wikiEditor.modules.toolbar.fn.autoMsg(s.config,'label')).data('context',s.context).click(function(){var $section=$(this).data('context').$ui.find('.section-'+ |
| 92 | +$.eachAsync(sectionQueue,{'bulk':0,'loop':function(i,s){s.$sections.append($.wikiEditor.modules.toolbar.fn.buildSection(s.context,s.section,s.config).css('display',s.selected?'block':'none'));s.$tabs.append($('<span></span>').attr({'class':'tab tab-'+s.section,'rel':s.section}).append($('<a></a>').addClass(s.selected?'current':null).attr('href','#').text($.wikiEditor.modules.toolbar.fn.autoMsg(s.config,'label')).data('context',s.context).click(function(){var $section=$(this).data('context').$ui.find('.section-'+ |
93 | 93 | $(this).parent().attr('rel'));$(this).blur();var show=$section.css('display')=='none';$section.parent().children().hide();$(this).parent().parent().find('a').removeClass('current');if(show){$section.show();$(this).addClass('current');} |
94 | 94 | $.cookie('wikiEditor-'+ |
95 | 95 | $(this).data('context').instance+'-toolbar-section',show?$section.attr('rel'):null);return false;})));}});}}};})(jQuery); |
\ No newline at end of file |