Skip to content

Commit

Permalink
Released 0.6.11.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianreavis committed Aug 4, 2013
1 parent 67dfa31 commit 861b03c
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 23 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "selectize",
"keywords": ["select", "ui", "form", "input", "control", "autocomplete", "tagging", "tag"],
"description": "Selectize is a jQuery-based custom <select> UI control. Useful for tagging, contact lists, country selectors, etc.",
"version": "0.6.10",
"version": "0.6.11",
"license": "Apache License, Version 2.0",
"readmeFilename": "README.md",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion selectize.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! selectize.css - v0.6.10 | https://github.com/brianreavis/selectize.js | Apache License (v2) */
/*! selectize.css - v0.6.11 | https://github.com/brianreavis/selectize.js | Apache License (v2) */

/* --- file: "src/selectize.css" --- */

Expand Down
2 changes: 1 addition & 1 deletion selectize.jquery.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "selectize",
"version": "0.6.10",
"version": "0.6.11",
"title": "Selectize.js",
"author": {
"name": "Brian Reavis",
Expand Down
5 changes: 3 additions & 2 deletions selectize.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! selectize.js - v0.6.10 | https://github.com/brianreavis/selectize.js | Apache License (v2) */
/*! selectize.js - v0.6.11 | https://github.com/brianreavis/selectize.js | Apache License (v2) */

(function(factory) {
if (typeof exports === 'object') {
Expand Down Expand Up @@ -1956,7 +1956,8 @@
self.unlock();
self.focus(false);

var value = hash_key(data && data[self.settings.valueField]);
if (!data || typeof data !== 'object') return;
var value = hash_key(data[self.settings.valueField]);
if (!value) return;

self.setTextboxValue('');
Expand Down
Loading

0 comments on commit 861b03c

Please sign in to comment.