Skip to content

Commit

Permalink
Ensure dashboard has a title before allowing user to save it. Closes #35
Browse files Browse the repository at this point in the history
  • Loading branch information
Rashid Khan committed Apr 17, 2014
1 parent af458b2 commit cb7b7ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kibana/apps/dashboard/partials/save_dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
<label for="exampleInputEmail1">Save As</label>
<input type="text" ng-model="configObject.dashboard.title" class="form-control" placeholder="Dashboard title">
</div>
<button type="submit" class="btn btn-primary">Save</button>
<button type="submit" ng-disabled="!configObject.dashboard.title" class="btn btn-primary">Save</button>

0 comments on commit cb7b7ed

Please sign in to comment.