Index: trunk/extensions/UsabilityInitiative/UsabilityInitiative.hooks.php |
— | — | @@ -69,7 +69,7 @@ |
70 | 70 | array( 'src' => 'js/plugins/jquery.textSelection.js', 'version' => 36 ), |
71 | 71 | array( 'src' => 'js/plugins/jquery.wikiEditor.js', 'version' => 195 ), |
72 | 72 | array( 'src' => 'js/plugins/jquery.wikiEditor.highlight.js', 'version' => 53 ), |
73 | | - array( 'src' => 'js/plugins/jquery.wikiEditor.toolbar.js', 'version' => 70 ), |
| 73 | + array( 'src' => 'js/plugins/jquery.wikiEditor.toolbar.js', 'version' => 71 ), |
74 | 74 | array( 'src' => 'js/plugins/jquery.wikiEditor.dialogs.js', 'version' => 28 ), |
75 | 75 | array( 'src' => 'js/plugins/jquery.wikiEditor.toc.js', 'version' => 98 ), |
76 | 76 | array( 'src' => 'js/plugins/jquery.wikiEditor.preview.js', 'version' => 12 ), |
— | — | @@ -82,10 +82,10 @@ |
83 | 83 | array( 'src' => 'js/thirdparty/contentCollector.js', 'version' => 2 ), |
84 | 84 | ), |
85 | 85 | 'combined' => array( |
86 | | - array( 'src' => 'js/plugins.combined.js', 'version' => 445 ), |
| 86 | + array( 'src' => 'js/plugins.combined.js', 'version' => 446 ), |
87 | 87 | ), |
88 | 88 | 'minified' => array( |
89 | | - array( 'src' => 'js/plugins.combined.min.js', 'version' => 455 ), |
| 89 | + array( 'src' => 'js/plugins.combined.min.js', 'version' => 456 ), |
90 | 90 | ), |
91 | 91 | ), |
92 | 92 | ); |
Index: trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.toolbar.js |
— | — | @@ -497,8 +497,8 @@ |
498 | 498 | } |
499 | 499 | if ( 'characters' in page ) { |
500 | 500 | var html = ''; |
501 | | - for ( character in page.characters ) { |
502 | | - html += $.wikiEditor.modules.toolbar.fn.buildCharacter( page.characters[character], actions ); |
| 501 | + for ( var i = 0; i < page.characters.length; i++ ) { |
| 502 | + html += $.wikiEditor.modules.toolbar.fn.buildCharacter( page.characters[i], actions ); |
503 | 503 | } |
504 | 504 | $characters |
505 | 505 | .html( html ) |
Index: trunk/extensions/UsabilityInitiative/js/plugins.combined.js |
— | — | @@ -6671,8 +6671,8 @@ |
6672 | 6672 | } |
6673 | 6673 | if ( 'characters' in page ) { |
6674 | 6674 | var html = ''; |
6675 | | - for ( character in page.characters ) { |
6676 | | - html += $.wikiEditor.modules.toolbar.fn.buildCharacter( page.characters[character], actions ); |
| 6675 | + for ( var i = 0; i < page.characters.length; i++ ) { |
| 6676 | + html += $.wikiEditor.modules.toolbar.fn.buildCharacter( page.characters[i], actions ); |
6677 | 6677 | } |
6678 | 6678 | $characters |
6679 | 6679 | .html( html ) |
Index: trunk/extensions/UsabilityInitiative/js/plugins.combined.min.js |
— | — | @@ -449,7 +449,7 @@ |
450 | 450 | if('rows'in page){for(row in page.rows){html+=$.wikiEditor.modules.toolbar.fn.buildRow(context,page.rows[row])}} |
451 | 451 | $page.html(html);break;case'characters':$page.addClass('page-characters');$characters=$('<div />').data('context',context).data('actions',{});var actions=$characters.data('actions');if('language'in page){$characters.attr('lang',page.language);} |
452 | 452 | if('direction'in page){$characters.attr('dir',page.direction);} |
453 | | -if('characters'in page){var html='';for(character in page.characters){html+=$.wikiEditor.modules.toolbar.fn.buildCharacter(page.characters[character],actions);} |
| 453 | +if('characters'in page){var html='';for(var i=0;i<page.characters.length;i++){html+=$.wikiEditor.modules.toolbar.fn.buildCharacter(page.characters[i],actions);} |
454 | 454 | $characters.html(html).children().mousedown(function(e){context.fn.saveStuffForIE();e.preventDefault();return false;}).click(function(e){$.wikiEditor.modules.toolbar.fn.doAction($(this).parent().data('context'),$(this).parent().data('actions')[$(this).attr('rel')],$(this));e.preventDefault();return false;});} |
455 | 455 | $page.append($characters);break;} |
456 | 456 | return $page;},buildHeading:function(context,headings){var html='<tr>';for(heading in headings){html+='<th>'+$.wikiEditor.autoMsg(headings[heading],['html','text'])+'</th>';} |