Skip to content

Commit

Permalink
Spot Page: Update page title on save
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicagood committed Aug 13, 2018
1 parent 0188957 commit 7e0fcc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions www/app/spot/spot/spot.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,7 @@
function submit(toPath) {
saveSpot().then(function (spots) {
vm.spotChanged = false;
vm.spotTitle = vm.spot.properties.name;
if (IS_WEB && $state.current.name === 'app.spotTab.spot') vmParent.updateSpots();
else if (IS_WEB && $state.current.name === 'app.map') $rootScope.$broadcast('updateMapFeatureLayer');
else if (IS_WEB && $state.current.name === 'app.image-basemaps.image-basemap') {
Expand Down

0 comments on commit 7e0fcc9

Please sign in to comment.