diff --git a/www/plugins/es/js/controllers/profile-controllers.js b/www/plugins/es/js/controllers/profile-controllers.js index ed21fbad6bcd101785a787733d59d042114ba6a9..156960c22e7ba8097734a3b2a3bdc3670fc3a50d 100644 --- a/www/plugins/es/js/controllers/profile-controllers.js +++ b/www/plugins/es/js/controllers/profile-controllers.js @@ -11,6 +11,7 @@ angular.module('cesium.es.profile.controllers', ['cesium.es.services']) controller: 'ESViewEditProfileCtrl' } }, + cache: false, data: { auth: true } diff --git a/www/plugins/es/templates/document/item_document.html b/www/plugins/es/templates/document/item_document.html index 9f5eaf60f4e3affa9e5bbafcc24e26b311284cc6..2f9a8d80bd014471701a2b8ab63ed6f9147fa14a 100644 --- a/www/plugins/es/templates/document/item_document.html +++ b/www/plugins/es/templates/document/item_document.html @@ -1,6 +1,5 @@ <ion-item id="doc-{{::doc.id}}" class="item item-document item-icon-left ink {{::ionItemClass}} no-padding-top no-padding-bottom" - ng-class="{{::ionItemClass}}" ng-click="selectDocument(doc)"> <i class="icon ion-document stable" ng-if=":rebind:!doc.avatar"></i> diff --git a/www/plugins/map/js/controllers/user-controllers.js b/www/plugins/map/js/controllers/user-controllers.js index 246a4711fdb56c8c441732496f32ed33ef99bf69..692a48b16bed30376aa8567bd2b3263494dcee61 100644 --- a/www/plugins/map/js/controllers/user-controllers.js +++ b/www/plugins/map/js/controllers/user-controllers.js @@ -33,6 +33,7 @@ angular.module('cesium.map.user.controllers', ['cesium.services', 'cesium.map.se } }); $scope.loading = true; + $scope.mapId = 'map-profile-' + $scope.$id; $scope.enter = function(e, state) { diff --git a/www/plugins/map/templates/user/edit_profile_extend.html b/www/plugins/map/templates/user/edit_profile_extend.html index 94757d48b558941d886263b51128d8d4586037da..9f1706f9a11e1f256bd2b2f58c123ec807ec042a 100644 --- a/www/plugins/map/templates/user/edit_profile_extend.html +++ b/www/plugins/map/templates/user/edit_profile_extend.html @@ -1,5 +1,6 @@ <div class="item no-padding {{ionItemClass}}" ng-if="formData.geoPoint && formData.geoPoint.lat && formData.geoPoint.lon"> - <leaflet height="250px" + <leaflet id="{{::mapId}}" + height="250px" center="map.center" markers="map.markers" defaults="map.defaults">