Changeset 18352
- Timestamp:
- 11/14/08 05:08:22 (2 months ago)
- Files:
-
- trunk/core/web/src/scheduleView.js (modified) (4 diffs)
- trunk/core/web/src/util.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/core/web/src/scheduleView.js
r18343 r18352 112 112 var result = ""; 113 113 if(record.data[dataIndex]) { 114 var anchor = 'x-'+colIndex+'-'+record.id; 115 result = String.format('<a href="javascript:showDateTimes(\'{0}\', {1});" name="{0}" id="{0}" class="dateAnchor" title="{2}">{3}</a>', anchor, record.id, startEndDateTitle, record.data[dataIndex].format('M d,y')); 114 result = record.data[dataIndex].format('M d,y'); 116 115 } 117 116 return result; … … 163 162 result += ' '; 164 163 } 165 result += String.format('<a href="{0}/servlet/ScheduleController/TaskView?module=60&action=1&id={1}">{2}</a>',JSPRootURL, record.id, value);164 result += value; 166 165 return result; 167 166 }; … … 286 285 var grid = new Ext.ux.maximgb.treegrid.GridPanel({ 287 286 store: store, 288 clicksToEdit: 2,287 clicksToEdit: 1, 289 288 master_column_id : 'name', 290 289 cm: colModel, … … 443 442 }); 444 443 return false; 444 }, 445 celldblclick : function ( grid, rowIndex, columnIndex, e ) { 446 var record = that.getStore().getAt(rowIndex); 447 if(record) { 448 self.location = JSPRootURL + "/servlet/ScheduleController/TaskView?module=60&action=1&id=" + record.id; 449 } 445 450 } 446 451 } trunk/core/web/src/util.js
r18343 r18352 845 845 try { 846 846 //Firefox, Mozilla, Opera, etc. 847 parser=new DOMParser();847 var parser=new DOMParser(); 848 848 xmlDoc=parser.parseFromString(text,"text/xml"); 849 849 } catch(e) {
