Opened 11 years ago

Closed 11 years ago

#7972 closed defect (fixed)

ContentPane._onLoadHandler() error logging

Reported by: Les Owned by:
Priority: high Milestone: 1.3
Component: Dijit Version: 1.2.0
Keywords: Cc:
Blocked By: Blocking:

Description

Hi! Would it be possible to modify the code below, so it actually displays the error? See the one line that I added.

	_onLoadHandler: function(){
		this.isLoaded = true;
		try{
			this.onLoad.call(this);
		}catch(e){			
      console.error('Error '+this.widgetId+' running custom onLoad code');
      console.error(e); // Les added
		}
	},

Change History (1)

comment:1 Changed 11 years ago by bill

Milestone: tbd1.3
Resolution: fixed
Status: newclosed

OK, I checked in changes to o that for load/unload, in [15645].

Note: See TracTickets for help on using tickets.