rsence-pre 3.0.0.12 → 3.0.0.14

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: df0a7c946c4da900e778339d4f35f828eae3d727
4
- data.tar.gz: 5ffbc7db3fca63680c7158a1dcc93fae3840ed44
3
+ metadata.gz: 368ca9c0a43539e6d685f7141a64d81df12aaa7a
4
+ data.tar.gz: 261baf5605b443f6f4260f5656203a6b82a59e71
5
5
  SHA512:
6
- metadata.gz: b20f6de1442b949062871202b89e2d935065f4e53661aefb78ed48d4481cbb036da98af5602c01e92a0857ab71ad42dfef7a2cb2c28fadac874f43c30ce8b36e
7
- data.tar.gz: 1c10e07f9510879752ed756e1511035361614e7d2ab3f8eb3abf897e379974c14096f81c3d0efea20eff8d2040cb0c9d2d1085584787c2c2e1084a16997c2dec
6
+ metadata.gz: 91495f1a04c3761fb835bcef2da0fd5196b4b5195ef4614e8d2d805ff2c892e95741c50db9e71c5997db01792754f700b87b1204dedce122c7a8b8d614b12e8e
7
+ data.tar.gz: 17315738b2a749993d6598919275f37ac3f4591c575395a7d2a2368ff04b64b8c8a9c1ad40258e4519b410000b88343eea3986c3db243f6f8e7c771410b3e2bc
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.0.12.pre
1
+ 3.0.0.14.pre
@@ -192,8 +192,9 @@ HTextControl = HControl.extend
192
192
  @base(_flag)
193
193
  if @markupElemIds? and @markupElemIds.value?
194
194
  ELEM.get(@markupElemIds.value).disabled = !@enabled
195
- else
196
- @pushTask => @setEnabled(_flag)
195
+ else if not @isDead
196
+ @pushTask =>
197
+ @setEnabled(_flag) unless @isDead
197
198
 
198
199
  _clipboardEventTimer: null
199
200
  _getChangeEventFn: ->
@@ -68,7 +68,9 @@ HClass.prototype = {
68
68
  for (prop in e) {
69
69
  err[prop] = e[prop];
70
70
  }
71
- err.string = e.toString();
71
+ err.name = e.name;
72
+ err.message = e.message;
73
+ err.stack = e.stack;
72
74
  return err;
73
75
  },
74
76
 
@@ -96,7 +98,15 @@ HClass.prototype = {
96
98
  _returnValue = _method.apply(this, arguments);
97
99
  }
98
100
  catch(e){
99
- !this.isProduction && console.warn("An exception occurred while calling base: ",HClass.prototype._exceptionProperties(e)," object: ",_method);
101
+ var _eProps = HClass.prototype._exceptionProperties(e);
102
+ !this.isProduction && console.warn(
103
+ "An exception occurred while calling base: ",
104
+ _eProps,
105
+ "\nfunction name: \""+_source+
106
+ "\"\nouter function: ", _method.toString(),
107
+ "\ninner function: ", _ancestor.toString(),
108
+ "\nstack: ",_eProps.stack
109
+ );
100
110
  _returnValue = null;
101
111
  }
102
112
  // then because event this function can be called from child method
@@ -693,6 +693,8 @@ ELEM = HClass.extend
693
693
  @setAttr( _id, _attrName, _attrValue, true )
694
694
  if _options.styles
695
695
  @setStyles( _id, _options.styles )
696
+ if _options.html
697
+ @setHTML( _id, _options.html )
696
698
  @_elements[_targetId].appendChild(_elem)
697
699
  _id
698
700
 
@@ -1,59 +1,50 @@
1
- .timesheet_label,
2
- .timesheet_items,
3
- .timesheet_timeline,
4
- .timesheet_timeline_hour,
5
- .timesheet_timeline_line,
6
- .timesheet_timeline_notch {
7
- position: absolute;
8
- }
9
-
10
- .timesheet_label,
11
- .timesheet_items,
12
- .timesheet_timeline {
1
+ .default.timesheet > .label,
2
+ .default.timesheet > .items,
3
+ .default.timesheet > .timeline,
4
+ .default.timesheet > .timeline > .hour,
5
+ .default.timesheet > .items > .line,
6
+ .default.timesheet > .items > .notch { position: absolute; }
7
+ .default.timesheet > .label,
8
+ .default.timesheet > .items,
9
+ .default.timesheet > .timeline {
13
10
  font-family: Helvetica, Arial, sans-serif;
14
11
  font-size: 11px;
15
12
  color: #000;
16
13
  vertical-align: middle;
17
14
  text-align: left;
18
15
  }
19
-
20
- .timesheet_label {
16
+ .default.timesheet > .label {
21
17
  left: 33px; top: 0px; right: 0px; height: 16px;
22
18
  font-size: 15px;
23
19
  }
24
-
25
- .timesheet_timeline {
20
+ .default.timesheet > .timeline {
26
21
  left: 0px; top: 0px; right: 0px; bottom: 0px;
27
22
  cursor: move;
28
23
  }
29
-
30
- .timesheet_timeline_hour {
24
+ .default.timesheet > .timeline > .hour {
31
25
  left: 0px; width: 26px; text-align: right; height: 14px;
32
26
  }
33
-
34
- .timesheet_timeline_line {
35
- left: 31px; right: 3px; height: 1px; background-color: #bbb;
27
+ .default.timesheet > .items > .line {
28
+ left: 2px; right: 3px; height: 1px;
29
+ border-top: 1px solid #bbb;
36
30
  }
37
- .timesheet_timeline_notch {
38
- left: 31px; right: 3px; height: 1px; background-color: #ddd;
31
+ .default.timesheet > .items > .notch {
32
+ left: 2px; right: 3px; height: 1px;
33
+ border-top: 1px solid #ddd;
39
34
  }
40
-
41
- .timesheet_items {
35
+ .default.timesheet > .items {
42
36
  left: 29px; top: 19px; right: 1px; bottom: 11px;
43
37
  border: 1px solid #ccc;
44
38
  border-radius: 3px;
45
39
  }
46
-
47
- .nohours .timesheet_timeline_notch,
48
- .nohours .timesheet_timeline_line {
49
- left: 2px;
40
+ .default.timesheet > .items > .line:hover {
41
+ left: 0; right: 0;
42
+ background-color: #bbb;
50
43
  }
51
- .nohours .timesheet_timeline_hour {
52
- display: none;
53
- }
54
- .nohours .timesheet_label {
55
- left: 4px;
56
- }
57
- .nohours .timesheet_items {
58
- left: 0px;
44
+ .default.timesheet > .items > .notch:hover {
45
+ left: 0; right: 0;
46
+ background-color: #bbb;
59
47
  }
48
+ .default.timesheet.nohours > .timeline > .hour { display: none; }
49
+ .default.timesheet.nohours > .label { left: 4px; }
50
+ .default.timesheet.nohours > .items { left: 0px; }
@@ -1,4 +1,4 @@
1
- <div id="label]I[" class="timesheet_label"></div>
2
- <div id="timeline]I[" class="timesheet_timeline"></div>
3
- <div id="value]I[" class="timesheet_items"></div>
1
+ <div id="label]I[" class="label"></div>
2
+ <div id="timeline]I[" class="timeline"></div>
3
+ <div id="value]I[" class="items"></div>
4
4
  ${this.themeSettings(30, 20, 0, 10, -6);}