Closed bartvde closed 11 years ago
Should we consider a deep copy of outputConfig in gxp.plugins.Tool ? http://stackoverflow.com/questions/5216565/is-there-a-better-way-to-use-ext-apply-to-combine-child-subobjects-into-another
As discussed with @bartvde, we should add listeners internally through the on()
method and not add them through the default config object.
Regarding deep apply in Tool.js, we should first decide if we want to have application configuration take precedence over tool configuration also for nested objects. Right now, applications providing configurations for nested objects break tools that need a default configuration for them.
@ahocevar any chance you could have a quick look at this PR, should be trivial
Very good. Please merge.
since this will override the listeners that the code in the layertree plugin is creating: