/* Copyright (c) 2004-2006, The Dojo Foundation All Rights Reserved. Licensed under the Academic Free License version 2.1 or above OR the modified BSD license. For more information on Dojo licensing, see: http://dojotoolkit.org/community/licensing.shtml */ /** * Additional tree utils * */ dojo.provide("dojo.widget.TreeControllerExtension"); dojo.widget.TreeControllerExtension = function() { } dojo.lang.extend(dojo.widget.TreeControllerExtension, { saveExpandedIndices: function(node, field) { var obj = {}; for(var i=0; i