mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
FIX: GroupedView bug with latest Ember build
This commit is contained in:
parent
e668d770ac
commit
f73aa444ee
2 changed files with 2 additions and 0 deletions
|
@ -9367,6 +9367,7 @@ define("ember-handlebars/helpers/view",
|
||||||
} else if (isGlobalPath(path)) {
|
} else if (isGlobalPath(path)) {
|
||||||
return null;
|
return null;
|
||||||
} else if (path === 'this' || path === '') {
|
} else if (path === 'this' || path === '') {
|
||||||
|
if (data.insideGroup && data.insideEach) { return 'context'; }
|
||||||
return '_parentView.context';
|
return '_parentView.context';
|
||||||
} else {
|
} else {
|
||||||
return '_parentView.context.' + path;
|
return '_parentView.context.' + path;
|
||||||
|
|
|
@ -9074,6 +9074,7 @@ define("ember-handlebars/helpers/view",
|
||||||
} else if (isGlobalPath(path)) {
|
} else if (isGlobalPath(path)) {
|
||||||
return null;
|
return null;
|
||||||
} else if (path === 'this' || path === '') {
|
} else if (path === 'this' || path === '') {
|
||||||
|
if (data.insideGroup && data.insideEach) { return 'context'; }
|
||||||
return '_parentView.context';
|
return '_parentView.context';
|
||||||
} else {
|
} else {
|
||||||
return '_parentView.context.' + path;
|
return '_parentView.context.' + path;
|
||||||
|
|
Loading…
Reference in a new issue