Commit 9f2e5d29 authored by JC Brand's avatar JC Brand

Bugfix. Get value from val() method, not attr.

parent fb9fc879
...@@ -2314,7 +2314,7 @@ ...@@ -2314,7 +2314,7 @@
setStatusMessage: function (ev) { setStatusMessage: function (ev) {
ev.preventDefault(); ev.preventDefault();
var status_message = $(ev.target).find('input').attr('value'); var status_message = $(ev.target).find('input').val();
if (status_message === "") { if (status_message === "") {
} }
this.model.setStatusMessage(status_message); this.model.setStatusMessage(status_message);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment