Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

jimmyhatter

  • Loading branch information...
commit 2ff8f978d6a4859b5ae7a8d86d619fbb32999b1a 1 parent 1c7e202
@bblatnick bblatnick authored etgryphon committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  frameworks/foundation/views/combo_box.js
View
2  frameworks/foundation/views/combo_box.js
@@ -540,7 +540,7 @@ SCUI.ComboBoxView = SC.View.extend( SC.Control, SC.Editable, {
var value = this.get('textFieldView').get('value'),
selection = this.get('textFieldView').get('selection'),
wouldDeleteLastChar = NO;
- if (!value.length) {
+ if (!value || !value.length) {
wouldDeleteLastChar = YES;
} else if (value.length === selection.length()) {
wouldDeleteLastChar = YES;
Please sign in to comment.
Something went wrong with that request. Please try again.