Display league tables on team pages close #44

This commit is contained in:
Brian Miyaji
2014-08-25 00:17:26 +10:00
parent 0e7d8994fe
commit e29cfbe8e5
12 changed files with 198 additions and 169 deletions

View File

@@ -88,21 +88,6 @@
}
]
},
{
text: ed.getLang( 'sportspress.team' ),
menu: [
{
text: ed.getLang( 'sportspress.table_columns' ),
onclick: function() {
// triggers the thickbox
var width = jQuery(window).width(), H = jQuery(window).height(), W = ( 720 < width ) ? 720 : width;
W = W - 80;
H = H - 84;
tb_show( ed.getLang( 'sportspress.team' ) + ' - ' + ed.getLang( 'sportspress.table_columns' ), 'admin-ajax.php?action=sportspress_team_columns_shortcode&width=' + W + '&height=' + H );
}
}
]
},
{
text: ed.getLang( 'sportspress.league_table' ),
onclick : function() {