rem: Ext.get(id).on("click",function(){ if(id == "delete"){ changeSelectedUI("delete") deleteShape() setTimeout("drawTools.select();",100); }else{ drawTools[id]() 
add: ajaxanimator.onReady(function(){ historyDS = new Ext.data.SimpleStore({ fields: ['number','action'], data : [["0","New Animation"]] }); var historyCM = new Ext.grid.ColumnModel([ {header: "#", sortable: true,  dataIndex: 'number'}, {header: "Action", sortable: true,  dataIndex: 'action'} ]); historyGrid = new Ext.grid.Grid("HistoryContainer", { ds: historyDS, cm: historyCM, autoSizeColumns: true, monitorWindowResize: true, trackMouseOver: true }); historyGrid.render(); historyGrid.on("cellclick",function(e,w){ revertRevision(w) }) historyLayout = Ext.BorderLayout.create({ monitorWindowResize: true, center: { margins:{left:.1,top:.1,right:.1,bottom:.1}, panels: [new Ext.GridPanel(historyGrid)] 
context: Ext.get(id).on("click",function(){if(id == "delete"){changeSelectedUI("delete")deleteShape()setTimeout("drawTools.select();",100);//some eyecandy}else{drawTools[id]()}})
meta: 5269	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5269/d6279c93dfac928173a95baee130443f46f50eb4/jsOut.js/buggy/Animator/dev/tmp/jsOut.js