Commit 658bb9318a5c0aa7b016a9e42702323fd88fe5c1
1 parent
c07aef1d24
Exists in
master
fixed console errors(third party)
Showing
2 changed files
with
14 additions
and
5 deletions
Show diff stats
app/index.html
... | ... | @@ -140,9 +140,12 @@ |
140 | 140 | <!-- <script src="js/fullcalender.js"></script> --> |
141 | 141 | |
142 | 142 | <script src="http://cdn.ckeditor.com/4.6.1/standard-all/ckeditor.js"></script> |
143 | + | |
144 | + <!--old regional highchart --> | |
145 | + <!-- <script src="http://code.highcharts.com/highcharts.js"></script> | |
143 | 146 | <script src="https://code.highcharts.com/maps/highmaps.js"></script> |
144 | 147 | <script src="https://code.highcharts.com/maps/modules/data.js"></script> |
145 | - <script src="https://code.highcharts.com/mapdata/countries/us/us-all.js"></script> | |
148 | + <script src="https://code.highcharts.com/mapdata/countries/us/us-all.js"></script> --> | |
146 | 149 | |
147 | 150 | |
148 | 151 | <script src="jvectormap-204/jquery-jvectormap-2.0.4.min.js"></script> |
... | ... | @@ -242,12 +245,12 @@ |
242 | 245 | |
243 | 246 | <script src="bower_components/angular-nvd3/dist/angular-nvd3.js"></script> |
244 | 247 | |
245 | - <!-- for reginal pap graph uncomment this for new red chart and html code--> | |
246 | - <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> | |
248 | + <!-- for reginal pap without drilldown graph uncomment 5 this for new red chart and html code--> | |
249 | + <!-- <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> | |
247 | 250 | <script src="https://code.highcharts.com/maps/js/highmaps.js"></script> |
248 | 251 | <script src="https://code.highcharts.com/maps/js/modules/data.js"></script> |
249 | 252 | <script src="https://code.highcharts.com/maps/js/modules/exporting.js"></script> |
250 | - <script src="https://code.highcharts.com/mapdata/countries/us/us-all.js"></script> | |
253 | + <script src="https://code.highcharts.com/mapdata/countries/us/us-all.js"></script> --> | |
251 | 254 | |
252 | 255 | <!--for local time and UTC time--> |
253 | 256 | <script src="bower_components/angular-ui-clock/dist/angular-clock.js"></script> |
... | ... | @@ -262,7 +265,6 @@ |
262 | 265 | <script src="https://code.highcharts.com/maps/modules/exporting.js"></script> |
263 | 266 | <script src="https://code.highcharts.com/maps/modules/offline-exporting.js"></script> |
264 | 267 | <script src="https://code.highcharts.com/mapdata/countries/us/us-all.js"></script> |
265 | - | |
266 | 268 | <link href="https://netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet"> |
267 | 269 | |
268 | 270 | ... | ... |
app/partials/login/login.controller.js
... | ... | @@ -6,6 +6,13 @@ |
6 | 6 | |
7 | 7 | |
8 | 8 | function LoginController($scope, $filter, $rootScope, $state,$location, LoginService) { |
9 | + | |
10 | + //for hiding console errors | |
11 | + window.onerror = function(message, url, lineNumber) { | |
12 | + // maybe some handling? | |
13 | + return true; // prevents browser error messages | |
14 | + }; | |
15 | + | |
9 | 16 | |
10 | 17 | $scope.data = {}; |
11 | 18 | $scope.data.username = ''; | ... | ... |