testing dynamic style changes
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 8 Jan 2016 21:11:44 +0000 (16:11 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 8 Jan 2016 21:11:44 +0000 (16:11 -0500)
js/app.js
js/custom/upcp.js

index c0b596e..a975787 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -148,16 +148,18 @@ $(document).ready(function () {
             });
         }  
     } 
-   
-    $("document").ready(function() {
-        $(".hitarea").trigger('click');
-        $(".hitarea").click(function(){ 
-        });
-        $(".expandable-hitrea").trigger("click");
-        $(".expandable-hitrea").click(function() {
-            
-        });
-        
-        
-    });
+    var $treeview =  $(".treeview").find("ul");
+   $treeview.css("display", "block");
+    $treeview.find(".hasChildren").css("display", "block");
+//    $("document").ready(function() {
+//        $(".hitarea").trigger('click');
+//        $(".hitarea").click(function(){ 
+//        });
+//        $(".expandable-hitrea").trigger("click");
+//        $(".expandable-hitrea").click(function() {
+//            
+//        });
+//        
+//        
+//    });
 });
\ No newline at end of file
index eb152ae..fa84c00 100644 (file)
@@ -128,16 +128,18 @@ $(document).ready(function () {
             });
         }  
     } 
-   
-    $("document").ready(function() {
-        $(".hitarea").trigger('click');
-        $(".hitarea").click(function(){ 
-        });
-        $(".expandable-hitrea").trigger("click");
-        $(".expandable-hitrea").click(function() {
-            
-        });
-        
-        
-    });
+    var $treeview =  $(".treeview").find("ul");
+   $treeview.css("display", "block");
+    $treeview.find(".hasChildren").css("display", "block");
+//    $("document").ready(function() {
+//        $(".hitarea").trigger('click');
+//        $(".hitarea").click(function(){ 
+//        });
+//        $(".expandable-hitrea").trigger("click");
+//        $(".expandable-hitrea").click(function() {
+//            
+//        });
+//        
+//        
+//    });
 });
\ No newline at end of file