Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Commit

Permalink
Disable save button when the file is not possible to be saved
Browse files Browse the repository at this point in the history
Signed-off-by: Bruno Bottazzini <[email protected]>
  • Loading branch information
Bruno Bottazzini committed Apr 15, 2016
1 parent 37babfc commit f9f011a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/views/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
</md-menu-item>
<md-menu-divider></md-menu-divider>
<md-menu-item>
<md-button ng-click="ctrl.menuAction('file.save', $event)">
<md-button ng-disabled="!shouldSave" ng-click="ctrl.menuAction('file.save', $event)">
Save
</md-button>
</md-menu-item>
Expand Down

0 comments on commit f9f011a

Please sign in to comment.