Opened 15 years ago

Closed 15 years ago

#3421 closed defect (duplicate)

Fix to ticket #3406

Reported by: guest Owned by: bill
Priority: high Milestone: 0.9beta
Component: Dijit Version: 0.9
Keywords: parse contentpane parser splitcontainer Cc: bill
Blocked By: Blocking:


I don't recive your answer and than i decide to open a new ticket with the fix. I believe my fix will be implemented in dijit. I work all day (13/06/07), and this is the solution!!!

add to ContentPane?.js:

		  for(var i=0;i<this.getChildren().length;i++){
		    var ch=this.getChildren()[i];
          dijit.base.Layout.prototype.resize.apply(ch, arguments);
      dijit.base.Layout.prototype.resize.apply(this, arguments);

and in parser.js change this:

 dojo.forEach(thelist, function(widget){
			if(widget && widget.startup && (!widget.getParent || widget.getParent()==null)){

with this:

 dojo.forEach(thelist, function(widget){
			if(widget && widget.startup && (!widget.getParent || widget.getParent()==null || 
                                      (widget.getParent && widget.getParent()!=null && widget.getParent()._started) )){
				if((widget.getParent && widget.getParent()!=null && widget.getParent()._started) && widget.resize)

Change History (1)

comment:1 Changed 15 years ago by bill

Resolution: duplicate
Status: newclosed

Yes, I appreciate your work but you have to understand that there are many issues with dijit and your bugs will not necessarily be answered with a 24 hour period. I will answer the original ticket eventually.

Note: See TracTickets for help on using tickets.