/[drupal]/contributions/modules/autopilot/autopilot.js
ViewVC logotype

Contents of /contributions/modules/autopilot/autopilot.js

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Sat Aug 30 14:02:58 2008 UTC (14 months, 3 weeks ago) by souvent22
Branch: MAIN
CVS Tags: DRUPAL-5--2-0-BETA4, DRUPAL-5--2-0-BETA1, DRUPAL-5--2-0-BETA3, DRUPAL-5--2-0-BETA2, DRUPAL-5--1-4, DRUPAL-5--1-3, HEAD
Branch point for: DRUPAL-5--2
File MIME type: text/javascript
- Updating to the new community version of AP
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 }

  ViewVC Help
Powered by ViewVC 1.1.2