| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
// Build Function
|
| 5 |
function showFullBuildPath(bid) {
|
| 6 |
var builds = Drupal.settings.autopilot.repos;
|
| 7 |
$('#repo_full_path_display').empty().append(Drupal.settings.autopilot.build_list[bid]);
|
| 8 |
return;
|
| 9 |
}
|
| 10 |
|
| 11 |
// Transfer Section JavaScript
|
| 12 |
function dbTransferDisableOption(one, two) {
|
| 13 |
elOne = document.getElementById(one);
|
| 14 |
elTwo = document.getElementById(two);
|
| 15 |
// If one is not selected, and two is not selected (not = 0)
|
| 16 |
if(elOne.selectedIndex == 0 && elTwo.selectedIndex == 0) {
|
| 17 |
elOne.disabled = false;
|
| 18 |
elTwo.disabled = false;
|
| 19 |
}
|
| 20 |
else {
|
| 21 |
if(elOne.selectedIndex != 0) {
|
| 22 |
elTwo.selectedIndex = 0;
|
| 23 |
elTwo.disabled = true;
|
| 24 |
}
|
| 25 |
else {
|
| 26 |
elOne.selectedIndex = 0;
|
| 27 |
elOne.disabled = true;
|
| 28 |
}
|
| 29 |
}
|
| 30 |
}
|