public
Description: Tracks is a GTD(TM) web application, built with Ruby on Rails
Homepage: http://www.rousette.org.uk/projects/
Clone URL: git://github.com/bsag/tracks.git
Click here to lend your support to: tracks and make a donation at www.pledgie.com !
move nifty js calls to respective pages to reduce js execution a bit (on every 
page)
lrbalt (author)
Fri Sep 05 09:01:22 -0700 2008
commit  1d64ca0f34f30fdfde21f16e46624ac9f429de49
tree    7df565202a475e811ba8e181183f9cf82be3875e
parent  3a56d2bdd2ad86718f263bc5d1263757d844bbaa
...
53
54
55
56
57
 
 
 
 
 
 
...
53
54
55
 
56
57
58
59
60
61
62
0
@@ -53,4 +53,9 @@
0
 </div>
0
 <%
0
 sortable_element 'list-contexts', get_listing_sortable_options
0
--%>
0
\ No newline at end of file
0
+-%>
0
+<script type="text/javascript">
0
+window.onload=function(){
0
+  Nifty("div#context_new_container","normal");
0
+}
0
+</script>
...
16
17
18
19
20
21
22
23
24
...
16
17
18
 
 
 
19
20
21
0
@@ -16,9 +16,6 @@
0
 <script type="text/javascript">
0
 window.onload=function(){
0
   Nifty("div#todo_new_action_container","normal");
0
-  Nifty("div#project_new_project_container","normal");
0
-  Nifty("div#context_new_container","normal");
0
-  Nifty("div#recurring_new_container","normal");
0
   if ($('flash').visible()) { new Effect.Fade("flash",{duration:5.0}); }
0
 }
0
 </script>
...
61
62
63
64
65
 
 
 
 
 
 
 
...
61
62
63
 
64
65
66
67
68
69
70
71
0
@@ -61,4 +61,10 @@
0
       </div>
0
     </div>
0
   </div>
0
-</div>
0
\ No newline at end of file
0
+</div>
0
+
0
+<script type="text/javascript">
0
+window.onload=function(){
0
+  Nifty("div#project_new_project_container","normal");
0
+}
0
+</script>
...
40
41
42
 
 
 
 
 
 
...
40
41
42
43
44
45
46
47
48
0
@@ -40,3 +40,9 @@
0
 apply_behaviour "#recurring_edit_period:click", 
0
   "TracksForm.hide_all_edit_recurring(); $('recurring_edit_'+TracksForm.get_edit_period()).show();" 
0
 -%>
0
+
0
+<script type="text/javascript">
0
+    window.onload=function(){
0
+        Nifty("div#recurring_new_container","normal");
0
+    }
0
+</script>

Comments