From e393db96b6b8a855b0543d9d9887dde01e93f6bd Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Fri, 8 Jan 2016 16:11:44 -0500 Subject: [PATCH] testing dynamic style changes --- js/app.js | 26 ++++++++++++++------------ js/custom/upcp.js | 26 ++++++++++++++------------ 2 files changed, 28 insertions(+), 24 deletions(-) diff --git a/js/app.js b/js/app.js index c0b596e..a975787 100644 --- 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 diff --git a/js/custom/upcp.js b/js/custom/upcp.js index eb152ae..fa84c00 100644 --- a/js/custom/upcp.js +++ b/js/custom/upcp.js @@ -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 -- 2.17.1