Skip to content

Commit 87ef2c4

Browse files
committed
OutputContent:
- Now we have a ref to the field, usefull for when we are using functions with => to access the out this, in this cases the field ref was lost.
1 parent 1ba2c2d commit 87ef2c4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

public/cui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59762,7 +59762,7 @@ CUI.OutputContent = (function(superClass) {
5976259762
var value;
5976359763
value = OutputContent.__super__.getValue.call(this);
5976459764
if (this._getValue) {
59765-
return this._getValue.call(this, value);
59765+
return this._getValue.call(this, value, this);
5976659766
} else {
5976759767
return value;
5976859768
}

public/cui.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/elements/Output/OutputContent.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class CUI.OutputContent extends CUI.DataFieldInput
3535
getValue: ->
3636
value = super()
3737
if @_getValue
38-
@_getValue.call(@, value)
38+
@_getValue.call(@, value, @)
3939
else
4040
value
4141

0 commit comments

Comments
 (0)