rsence 2.0.9.20.pre → 2.0.9.21.pre

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.9.20.pre
1
+ 2.0.9.21.pre
@@ -27,6 +27,9 @@ HProgressBar = HControl.extend({
27
27
  if( this.drawn && this.markupElemIds.value ){
28
28
  var _visibleWidth = this.rect.width-this.themeWidthInset,
29
29
  _progressWidth = Math.round(_visibleWidth * this.value);
30
+ if(_progressWidth<0){
31
+ _progressWidth = 0;
32
+ }
30
33
  this.setStyleOfPart('value','width',_progressWidth+'px');
31
34
  }
32
35
  },
@@ -179,11 +179,13 @@ HEventResponder = HClass.extend({
179
179
  _sysViews = HSystem.views,
180
180
  i = 0,
181
181
  _views = _this.views,
182
+ _view,
182
183
  _viewsLen = _views.length;
183
184
 
184
185
  // Enable/disable the children first.
185
186
  for (; i < _viewsLen; i++) {
186
- _sysViews[_views[i]].setEnabled(_flag);
187
+ _view = _sysViews[_views[i]];
188
+ _view['setEnabled'] && _view.setEnabled(_flag);
187
189
  }
188
190
 
189
191
  if (_this.enabled === _flag) {
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rsence
3
3
  version: !ruby/object:Gem::Version
4
- hash: 961916140
4
+ hash: 961916136
5
5
  prerelease: true
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
9
  - 9
10
- - 20
10
+ - 21
11
11
  - pre
12
- version: 2.0.9.20.pre
12
+ version: 2.0.9.21.pre
13
13
  platform: ruby
14
14
  authors:
15
15
  - Riassence Inc.
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2010-08-15 00:00:00 +03:00
20
+ date: 2010-08-18 00:00:00 +03:00
21
21
  default_executable: rsence
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency