kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Fix problem with widget.getStateQualifier()
Fixed to take into account the recent change to read variables from the
parent widget: e60fc9f81f
print-window-tiddler
rodzic
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;
|
||||
|
|
Ładowanie…
Reference in New Issue