when creating a new subalbum, need to remove the already-generated mark of the parent...
authorgc <gc>
Sun, 25 Sep 2005 18:52:12 +0000 (18:52 +0000)
committergc <gc>
Sun, 25 Sep 2005 18:52:12 +0000 (18:52 +0000)
bin/booh-backend

index b6b46e00428cc5e411b15761f2fa3dc8e53dc8f0..a9b4b7645e8c7fe1950bbaf46c9420cdf31d77cd 100755 (executable)
@@ -591,6 +591,8 @@ def walk_source_dir
                 if !xmldir
                     xmldir = $xmldoc.root
                 end
+                #- need to remove the already-generated mark of the parent because of the sub-albums page containing now one more element
+                xmldir.delete_attribute('already-generated')
                 xmldir = optxpath[utf8(dir)] = xmldir.add_element('dir', { 'path' => utf8(dir) })
             end
         end