Skip to content

Commit 603d8bc

Browse files
committed
Merge pull request #117 from vincent99/lb
Fix goToPrevious buttons
2 parents f8191ff + 2a0f12c commit 603d8bc

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

app/hosts/setup/controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export default Ember.ObjectController.extend({
4848
},
4949

5050
cancel: function() {
51-
this.goToPrevious();
51+
this.send('goToPrevious');
5252
}
5353
},
5454

app/projects/new/controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export default Ember.ObjectController.extend(Cattle.NewOrEditMixin, {
5151

5252
doneSaving: function() {
5353
var out = this._super();
54-
this.goToPrevious();
54+
this.transitionToRoute('projects');
5555
return out;
5656
},
5757
});

app/projects/new/template.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
<div class="col-md-6">
66
<div class="form-group">
77
<label for="name">Name</label>
8-
{{input id="name" type="text" value=name classNames="form-control" placeholder="e.g. app01"}}
8+
{{input id="name" type="text" value=name classNames="form-control" placeholder="e.g. lab"}}
99
</div>
1010
<div class="form-group">
1111
<label for="description">Description</label>
12-
{{textarea id="description" value=description classNames="form-control no-resize" rows="3" placeholder="e.g. It serves the webs"}}
12+
{{textarea id="description" value=description classNames="form-control no-resize" rows="3" placeholder="e.g. Project for developer experimentation"}}
1313
</div>
1414
</div>
1515

0 commit comments

Comments
 (0)