Skip to content
Browse files

Update wall summary when renaming a wall

  • Loading branch information...
1 parent cd1b009 commit 574e4b8aa92d22e234f4c673c405d26dad85efcb @birtles birtles committed
Showing with 5 additions and 0 deletions.
  1. +5 −0 wall/public/wall-maker/js/manage-wall.js
View
5 wall/public/wall-maker/js/manage-wall.js
@@ -20,6 +20,11 @@ var ManageWallController =
function (changedFields) {
saver.showSaveSuccess(changedFields[elem.name]);
this.messageBox.showInfo('updated-field', elem.name, 1800);
+
+ // Update the wall summary view if necessary
+ if (elem.name == 'name' || elem.name == 'designId') {
+ UserData.updateWalls();
+ }
}.bind(this),
function (key, detail) {
saver.showSaveError();

0 comments on commit 574e4b8

Please sign in to comment.
Something went wrong with that request. Please try again.