bootstrap-combobox 1.2.1 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  module Bootstrap
2
2
  module Combobox
3
3
  # This version is a little arbitrary; at time of this writing source fork is at 1.1-WIP?
4
- VERSION = "1.2.1"
4
+ VERSION = "1.2.2"
5
5
  end
6
6
  end
@@ -1,5 +1,5 @@
1
1
  /* =============================================================
2
- * bootstrap-combobox.js v1.2
2
+ * bootstrap-combobox.js v1.2.1
3
3
  * =============================================================
4
4
  * Copyright 2012 Daniel Farrell
5
5
  *
@@ -209,7 +209,7 @@
209
209
  this.$target.val('').trigger('change')
210
210
  }
211
211
  } else {
212
- this.$target.val(val).trigger('change')
212
+ this.select();
213
213
  }
214
214
  if (!this.mousedover && this.shown) setTimeout(function () { that.hide() }, 200)
215
215
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap-combobox
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-07-22 00:00:00.000000000 Z
13
+ date: 2013-07-23 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: railties