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

This commit is contained in:
JC Brand 2013-07-30 00:16:17 +02:00
parent fb9fc87952
commit 9f2e5d291f

View File

@ -2314,7 +2314,7 @@
setStatusMessage: function (ev) {
ev.preventDefault();
var status_message = $(ev.target).find('input').attr('value');
var status_message = $(ev.target).find('input').val();
if (status_message === "") {
}
this.model.setStatusMessage(status_message);