kolo 0.6.5 → 0.6.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e7fcb9345c76d4ad57d0a0cd4cdc4b8478544c8e
4
- data.tar.gz: da60a5b91d5d65a0686067e8860e63d11bf0d8a1
3
+ metadata.gz: 0b3d20c422fe27588d67493ecd94e08d3ffd9be4
4
+ data.tar.gz: 3e5a928884a86959a1d39eb394d87613294ce358
5
5
  SHA512:
6
- metadata.gz: 26dd02ef645c4b507ad649dcd8898aa69cfb2096bfbbb46d218360b66e0632d82c74f8300e62823f1ea4f4cf403e87af8e73ecfa6451a351bede54799120c2de
7
- data.tar.gz: e829d228a04425aae06a1ff02df1667aa5ac175d2d6f1a8b2712a9cadc72d5b32283d1aa79579386ab2eaad05d292d839051a72ddfce7fc8ac7a73e8821ecf0c
6
+ metadata.gz: 47e30de916277fff4b6ffa766c02513e72aa79db81c76d59dca113420ee34353763e8fa050e33d447cf06db7efe64a3b2fafbbe012136f25ecc1e98581b28572
7
+ data.tar.gz: 37a72c2eb6af57b15927a4bf5ed9678be3e4ecb951611598c8df3f737133d9aae538465be009bd0a68edd141fe518b822c4004845eca98f205e9308c9c44cf00
@@ -98,7 +98,7 @@ class Db
98
98
 
99
99
  load: (autoReload = false, afterLoad = null)=>
100
100
  return unless @canLoad()
101
- if !@selected()
101
+ if !autoReload || !@selected()
102
102
  @viewModel.systemNotification @plural, 'loading'
103
103
  @viewModel.loading true
104
104
  @onBeforeLoad() if @onBeforeLoad?
data/lib/kolo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Kolo
2
- VERSION = "0.6.5"
2
+ VERSION = "0.6.6"
3
3
  end
@@ -150,7 +150,7 @@
150
150
  if (!this.canLoad()) {
151
151
  return;
152
152
  }
153
- if (!this.selected()) {
153
+ if (!autoReload || !this.selected()) {
154
154
  this.viewModel.systemNotification(this.plural, 'loading');
155
155
  this.viewModel.loading(true);
156
156
  if (this.onBeforeLoad != null) {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kolo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5
4
+ version: 0.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rahoul Baruah
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-31 00:00:00.000000000 Z
11
+ date: 2014-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler