summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY5
-rw-r--r--libtemplate/xmlparser.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index e32b0f9..66626f7 100644
--- a/HISTORY
+++ b/HISTORY
@@ -384,3 +384,8 @@ Version 0.5.3
Version 0.6.0
+- fixed bug that menulists are not read if no currentelement
+ is defined
+
+Version 0.6.1
+
diff --git a/libtemplate/xmlparser.c b/libtemplate/xmlparser.c
index 3df65f3..ce41918 100644
--- a/libtemplate/xmlparser.c
+++ b/libtemplate/xmlparser.c
@@ -247,7 +247,7 @@ void cXmlParser::ParseViewList(cTemplateView *subView) {
currentElement->SetGlobals(globals);
currentElement->SetParameters(attribsCur);
if (!LevelDown())
- return;
+ continue;
do {
if (!CheckNodeName("areacontainer") && !CheckNodeName("area") && !CheckNodeName("areascroll")) {
esyslog("skindesigner: invalid tag \"%s\" in viewelement", NodeName());