Index: trunk/extensions/MetavidWiki/skins/mv_embed/mv_embed.js |
— | — | @@ -2272,9 +2272,9 @@ |
2273 | 2273 | image_src += '.png'; |
2274 | 2274 | if (default_player) |
2275 | 2275 | { |
2276 | | - var retval = '<img src="'+image_src+'"/>'; |
| 2276 | + out += '<img src="'+image_src+'"/>'; |
2277 | 2277 | if(is_not_selected) |
2278 | | - retval+='<a href="#" onClick="' + source_select_code + 'embedTypes.players.userSelectPlayer(\''+default_player.id+'\',\''+source.getMIMEType()+'\'); return false;">'; |
| 2278 | + out+='<a href="#" onClick="' + source_select_code + 'embedTypes.players.userSelectPlayer(\''+default_player.id+'\',\''+source.getMIMEType()+'\'); return false;">'; |
2279 | 2279 | out += source.getTitle()+/*' - ' + default_player.getName() +*/ (is_not_selected?'</a>':'') + ' '; |
2280 | 2280 | out += /*'(<a href="#" onClick=\'$j("#player_select_list_'+index+'").fadeIn("slow");return false;\'>choose player</a>)' +*/ player_code; |
2281 | 2281 | }else |