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="";
+ }
+}
+