Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Merge pull request #852 from mleanos/chat-empty-message
Browse files Browse the repository at this point in the history
[fix] Empty Chat Messages
  • Loading branch information
lirantal committed Aug 27, 2015
2 parents a004b66 + 8128570 commit e415dc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/chat/client/views/chat.client.view.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ <h1>Chat Example</h1>
<div class="input-group">
<input type="text" id="messageText" name="messageText" class="form-control" ng-model="messageText" placeholder="Enter new message">
<span class="input-group-btn">
<button type="submit" class="btn btn-primary">Submit</button>
<button type="submit" class="btn btn-primary" ng-disabled="!messageText.length">Submit</button>
</span>
</div>
</fieldset>
Expand Down

0 comments on commit e415dc3

Please sign in to comment.