Skip to content

Commit

Permalink
Got back button from inventory page working.
Browse files Browse the repository at this point in the history
  • Loading branch information
nalanj committed Jan 21, 2011
1 parent 2c086cc commit ed040e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions public/js/app.js
Expand Up @@ -928,6 +928,7 @@ $(function() {
this.get("#/inventory/", function() {
this.app.updateData(encodeURIComponent(this.params["url"]), this.params["updates"]);

$('#back').attr("href", this.app.getUrlForAction("view"));
this.app.showView("#inventory");
});

Expand Down

0 comments on commit ed040e7

Please sign in to comment.