myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [2910] trunk/public/javascripts/application.js: R


From: noreply
Subject: [myexperiment-hackers] [2910] trunk/public/javascripts/application.js: Reinstate missing javascript functions that were deleted in rails2 port.
Date: Fri, 20 Jan 2012 05:33:49 -0500 (EST)

Revision
2910
Author
dtm
Date
2012-01-20 05:33:48 -0500 (Fri, 20 Jan 2012)

Log Message

Reinstate missing _javascript_ functions that were deleted in rails2 port. These
are the only functions that seem to be in use.

Modified Paths

Diff

Modified: trunk/public/_javascript_s/application.js (2909 => 2910)


--- trunk/public/_javascript_s/application.js	2012-01-19 14:07:09 UTC (rev 2909)
+++ trunk/public/_javascript_s/application.js	2012-01-20 10:33:48 UTC (rev 2910)
@@ -1,2 +1,22 @@
 // Place your application-specific _javascript_ functions and classes here
 // This file is automatically included by _javascript__include_tag :defaults
+
+function redirectToAddToPack() {
+  var url = ""
+  location.href = ""
+}
+
+function checkAll(checkboxes){
+  for (var i=0; i<checkboxes.length; i++){
+    checkbox = document.getElementById(checkboxes[i]);
+    checkbox.checked="checked";
+  }
+}
+
+function uncheckAll(checkboxes){
+  for (var i=0; i<checkboxes.length; i++){
+    checkbox = document.getElementById(checkboxes[i]);
+    checkbox.checked="";
+  }
+}
+

reply via email to

[Prev in Thread] Current Thread [Next in Thread]