Initialize @childrenHash.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7895 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
22c92f5553
commit
4f907d5c9e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue