Commit 44c9971482949057d5ea214d01c5e9f19259e44e

Authored by Nikita Kulshreshtha
1 parent 38c7edb9

removed commnetd code

400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... ... @@ -373,15 +373,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
373 373 $rootScope.currentActiveModuleTitle = selectedModuleName;
374 374 })
375 375  
376   - var currentSlug = currentURL.replace('/', '');
377   -
378   - $("#nav ul li a").each(function () {
379   - if ($(this).attr("href") == currentURL || $(this).attr("href") == '')
380   - // $(this).addClass("active");
381   - // $(this).closest('li').addClass('active');
382   - $(this).parent().addClass('active');
383   - });
384   -
  376 +
385 377 $rootScope.ClearIframe();
386 378  
387 379 //load common data
... ...
400-SOURCECODE/AIAHTML5.Web/app/widget/MainMenu.html
... ... @@ -56,117 +56,7 @@
56 56 $(function () {
57 57 $('[data-toggle="tooltip"]').tooltip();
58 58 })
59   -
60   - //var appPath = window.location.pathname;
61   -
62   - //var appPathvalue = appPath.substring(appPath.lastIndexOf('/') + 1);
63   -
64   - //if (appPathvalue == "da-view-list") {
65   -
66   - // $(".nav-sidebar li a").removeClass('active');
67   - // $(".nav-sidebar li:first-child a").addClass('active');
68   -
69   - //}
70   -
71   - //else if (appPathvalue == "3dAnatomy") {
72   -
73   - // $(".nav-sidebar li a").removeClass('active');
74   - // $(".nav-sidebar li:nth-child(2) a").addClass('active');
75   -
76   - //}
77   - //else if (appPathvalue == "clinical-illustrations") {
78   -
79   - // $(".nav-sidebar li a").removeClass('active');
80   - // $(".nav-sidebar li:nth-child(3) a").addClass('active');
81   -
82   -
83   - //}
84   - //else if (appPathvalue == "clinical-animations") {
85   -
86   - // $(".nav-sidebar li a").removeClass('active');
87   - // $(".nav-sidebar li:nth-child(4) a").addClass('active');
88   -
89   -
90   - //}
91   - //else if (appPathvalue == "encyclopedia") {
92   -
93   - // $(".nav-sidebar li a").removeClass('active');
94   - // $(".nav-sidebar li:nth-child(5) a").addClass('active');
95   -
96   -
97   - //}
98   - //else if (appPathvalue == "curriculum-builder") {
99   -
100   - // $(".nav-sidebar li a").removeClass('active');
101   - // $(".nav-sidebar li:nth-child(6) a").addClass('active');
102   -
103   -
104   - //}
105   -
106   - //else if (appPathvalue == "anatomy-test") {
107   -
108   - // $(".nav-sidebar li a").removeClass('active');
109   - // $(".nav-sidebar li:nth-child(7) a").addClass('active');
110   -
111   -
112   - //}
113   -
114   - //else if (appPathvalue == "IP-10") {
115   -
116   - // $(".nav-sidebar li a").removeClass('active');
117   - // $(".nav-sidebar li:nth-child(8) a").addClass('active');
118   -
119   - //}
120   - //else if (appPathvalue == "lab-exercises") {
121   -
122   - // $(".nav-sidebar li a").removeClass('active');
123   - // $(".nav-sidebar li:nth-child(9) a").addClass('active');
124   -
125   - //}
126   - //else if (appPathvalue == "indepth-reports") {
127   -
128   - // $(".nav-sidebar li a").removeClass('active');
129   - // $(".nav-sidebar li:nth-child(10) a").addClass('active');
130   -
131   - //}
132   - //else if (appPathvalue == "complementary-and-alternate-medicine") {
133   -
134   - // $(".nav-sidebar li a").removeClass('active');
135   - // $(".nav-sidebar li:nth-child(11) a").addClass('active');
136   -
137   - //}
138   - //else if (appPathvalue == "ADAM-Images") {
139   -
140   - // $(".nav-sidebar li a").removeClass('active');
141   - // $(".nav-sidebar li:nth-child(12) a").addClass('active');
142   -
143   - //}
144   -
145   - //else if (appPathvalue == "bodyguide") {
146   -
147   - // $(".nav-sidebar li a").removeClass('active');
148   - // $(".nav-sidebar li:nth-child(13) a").addClass('active');
149   -
150   - //}
151   - //else if (appPathvalue == "symptom-navigator") {
152   -
153   - // $(".nav-sidebar li a").removeClass('active');
154   - // $(".nav-sidebar li:nth-child(14) a").addClass('active');
155   -
156   - //}
157   - //else if (appPathvalue == "wellness-tools") {
158   -
159   - // $(".nav-sidebar li a").removeClass('active');
160   - // $(".nav-sidebar li:nth-child(15) a").addClass('active');
161   -
162   - //}
163   - //else if (appPathvalue == "ADAM-on-demand") {
164   -
165   - // $(".nav-sidebar li a").removeClass('active');
166   - // $(".nav-sidebar li:nth-child(16) a").addClass('active');
167   -
168   - //}
169   -
  59 +
170 60 });
171 61 </script>
172 62 <script>
... ...