Changeset 876929
- Timestamp:
- 03/18/2014 02:55:44 AM (12 years ago)
- Location:
- bracketpress
- Files:
-
- 43 added
- 2 edited
-
tags/1.6.1 (added)
-
tags/1.6.1/assets (added)
-
tags/1.6.1/bracketpress-config.php (added)
-
tags/1.6.1/bracketpress.php (added)
-
tags/1.6.1/includes (added)
-
tags/1.6.1/includes/admin (added)
-
tags/1.6.1/includes/admin/admin.php (added)
-
tags/1.6.1/includes/admin/settings.php (added)
-
tags/1.6.1/includes/classes (added)
-
tags/1.6.1/includes/classes/bracketpresshooks.php (added)
-
tags/1.6.1/includes/core (added)
-
tags/1.6.1/includes/core/actions.php (added)
-
tags/1.6.1/includes/core/options.php (added)
-
tags/1.6.1/includes/core/subactions.php (added)
-
tags/1.6.1/includes/models (added)
-
tags/1.6.1/includes/models/match.php (added)
-
tags/1.6.1/includes/models/queries.php (added)
-
tags/1.6.1/install (added)
-
tags/1.6.1/install/install.php (added)
-
tags/1.6.1/install/install.sql.php (added)
-
tags/1.6.1/lib (added)
-
tags/1.6.1/lib/ajax.php (added)
-
tags/1.6.1/lib/bracketpress-shortcodes.php (added)
-
tags/1.6.1/lib/bracketpress-widgets.php (added)
-
tags/1.6.1/lib/functions.php (added)
-
tags/1.6.1/media (added)
-
tags/1.6.1/media/css (added)
-
tags/1.6.1/media/css/bracket.css (added)
-
tags/1.6.1/media/css/bracket_readonly.css (added)
-
tags/1.6.1/media/css/jquery-ui-theme.css (added)
-
tags/1.6.1/media/images (added)
-
tags/1.6.1/media/images/Button-Add-icon.png (added)
-
tags/1.6.1/media/images/ajax-loader.gif (added)
-
tags/1.6.1/media/images/region_key.png (added)
-
tags/1.6.1/readme.txt (added)
-
tags/1.6.1/templates (added)
-
tags/1.6.1/templates/addons.php (added)
-
tags/1.6.1/templates/bracket_display.php (added)
-
tags/1.6.1/templates/bracket_edit.js (added)
-
tags/1.6.1/templates/bracket_edit.php (added)
-
tags/1.6.1/templates/changepositions.php (added)
-
tags/1.6.1/templates/locations.php (added)
-
tags/1.6.1/templates/teams.php (added)
-
trunk/bracketpress.php (modified) (1 diff)
-
trunk/templates/bracket_edit.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bracketpress/trunk/bracketpress.php
r873847 r876929 1 1 <?php 2 2 /* 3 Plugin Name: BracketPress (Scott Hack Special Edition)3 Plugin Name: BracketPress 4 4 Description: Run and score a tournament bracket pool. 5 5 Author: Scott Hack and Nick Temple 6 6 Author URI: http://www.bracketpress.com 7 Version: 1.6. 07 Version: 1.6.1 8 8 */ 9 9 -
bracketpress/trunk/templates/bracket_edit.js
r873847 r876929 110 110 111 111 sel_match = get_sel_match(15); 112 if (sel_match['winner_id']) set_team(6 2, 1, sel_match.winner_id);112 if (sel_match['winner_id']) set_team(61, 1, sel_match.winner_id); 113 113 114 114 sel_match = get_sel_match(30); … … 116 116 117 117 sel_match = get_sel_match(45); 118 if (sel_match['winner_id']) set_team(62, 1, sel_match.winner_id); 119 120 sel_match = get_sel_match(60); 118 121 if (sel_match['winner_id']) set_team(62, 2, sel_match.winner_id); 119 122 120 sel_match = get_sel_match(60); 121 if (sel_match['winner_id']) set_team(61, 1, sel_match.winner_id); 123 122 124 123 125 sel_match = get_sel_match(61); … … 449 451 // Save the current winner if we have one 450 452 winner = $('#get_team_selector_match61').val(); 451 $('#get_team_selector_match61').html('<option value="0">~Select~</option>'); // clear the select box453 //$('#get_team_selector_match61').html('<option value="0">~Select~</option>'); // clear the select box 452 454 453 455 // Add the items 454 set_team(61, 1, $('#get_team_selector_midwest_match60').val(), winner );455 set_team(61, 2, $('#get_team_selector_west_match30').val(), winner );456 //set_team(61, 1, $('#get_team_selector_midwest_match60').val(), winner ); 457 //set_team(61, 2, $('#get_team_selector_west_match30').val(), winner ); 456 458 457 459 // Save the current winner if we have one 458 460 winner = $('#get_team_selector_match62').val(); 459 $('#get_team_selector_match62').html('<option value="0">~Select~</option>'); // clear the select box461 //$('#get_team_selector_match62').html('<option value="0">~Select~</option>'); // clear the select box 460 462 461 463 // Add the items 462 set_team(62, 1, $('#get_team_selector_south_match15').val(), winner );463 set_team(62, 2, $('#get_team_selector_east_match45').val(), winner );464 // set_team(62, 1, $('#get_team_selector_south_match15').val(), winner ); 465 // set_team(62, 2, $('#get_team_selector_east_match45').val(), winner ); 464 466 465 467 // Clear and create the final round
Note: See TracChangeset
for help on using the changeset viewer.