Docs: more optimization

This commit is contained in:
Mottie 2015-06-19 07:49:18 -05:00
parent e250b6369e
commit fbd1464772

View File

@ -393,7 +393,7 @@ td.no-edit, span.no-edit {
editable_validate : function(txt, orig, columnIndex, $element){
// only allow one word
var t = /\s/.test(txt) ? txt.split(/\s/)[0] : txt;
return t ? t : false;
return t || false;
}
}
});