Initialize @childrenHash.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7895 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2011-11-23 18:25:30 +00:00
parent 22c92f5553
commit 4f907d5c9e
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ module TreeNodePatch
alias :old_initilize :initialize
def initialize(name, content = nil)
old_initilize(name, content)
@childrenHash ||= {}
@last_items_count = 0
extend(InstanceMethods)
end