Skip to content

Commit

Permalink
Update wall summary when renaming a wall
Browse files Browse the repository at this point in the history
  • Loading branch information
birtles committed Mar 28, 2013
1 parent cd1b009 commit 574e4b8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions wall/public/wall-maker/js/manage-wall.js
Expand Up @@ -20,6 +20,11 @@ var ManageWallController =
function (changedFields) { function (changedFields) {
saver.showSaveSuccess(changedFields[elem.name]); saver.showSaveSuccess(changedFields[elem.name]);
this.messageBox.showInfo('updated-field', elem.name, 1800); 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), }.bind(this),
function (key, detail) { function (key, detail) {
saver.showSaveError(); saver.showSaveError();
Expand Down

0 comments on commit 574e4b8

Please sign in to comment.