mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
Fix problem with widget.getStateQualifier()
Fixed to take into account the recent change to read variables from the
parent widget: e60fc9f81f
This commit is contained in:
parent
6de6a43623
commit
9a26c4259a
@ -201,8 +201,8 @@ Widget.prototype.getStateQualifier = function(name) {
|
||||
name = name || "transclusion";
|
||||
var output = [],
|
||||
node = this;
|
||||
while(node) {
|
||||
if($tw.utils.hop(node.variables,name)) {
|
||||
while(node && node.parentWidget) {
|
||||
if($tw.utils.hop(node.parentWidget.variables,name)) {
|
||||
output.push(node.getVariable(name));
|
||||
}
|
||||
node = node.parentWidget;
|
||||
|
Loading…
Reference in New Issue
Block a user