Fix bug
This commit is contained in:
parent
e0e90225fc
commit
88363e0d1c
|
@ -101,7 +101,7 @@ define([
|
||||||
disableTextBoxButton: function(textboxEl) {
|
disableTextBoxButton: function(textboxEl) {
|
||||||
var button = $(textboxEl.siblings('#id-comments-change')[0]);
|
var button = $(textboxEl.siblings('#id-comments-change')[0]);
|
||||||
|
|
||||||
if(textboxEl.val().trime().length > 0) {
|
if(textboxEl.val().trim().length > 0) {
|
||||||
button.removeAttr('disabled');
|
button.removeAttr('disabled');
|
||||||
button.removeClass('disabled');
|
button.removeClass('disabled');
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue