Permalink
Browse files

Drew/Brian: restored application.js from tw/master

  • Loading branch information...
1 parent 4dbfdf6 commit a730d2b1a0166e239eb9a730a0289bd951babd37 @bguthrie bguthrie committed May 20, 2009
Showing with 12 additions and 0 deletions.
  1. +12 −0 public/javascripts/application.js
@@ -1,2 +1,14 @@
// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults
+
+function toggle_section(section) {
+ if (section.className == "section_open")
+ section.className = "section_closed"
+ else
+ section.className = "section_open"
+}
+
+function disableBuildNowButton(button) {
+ button.className='build_button_disabled';
+ button.disabled = true;
+}

0 comments on commit a730d2b

Please sign in to comment.