Changeset 594 for trunk/web2/addons/job_monarch/js/monarch.js
- Timestamp:
- 02/05/09 11:49:12 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web2/addons/job_monarch/js/monarch.js
r593 r594 44 44 myButton.menu.show( myButton.getEl() ); 45 45 } 46 } 47 } 48 }); 49 50 function checkGraphWindowOption( item, checked ) 51 { 52 alert('Item Check', 'You {1} the "{0}" menu item.', item.text, checked ? 'checked' : 'unchecked'); 53 } 54 55 var graphMenu = new Ext.menu.Menu( 56 { 57 id: 'graphMenu', 58 items: 59 [{ 60 text: 'Each job in new window', 61 checked: false, 62 group: 'graphwindow', 63 handler: checkGraphWindowOption 64 },{ 65 text: 'Each job in a seperate tab, in new window', 66 checked: true, 67 group: 'graphwindow', 68 handler: checkGraphWindowOption 69 },{ 70 text: 'Each job in a seperate tab, in last opened window', 71 checked: false, 72 group: 'graphwindow', 73 handler: checkGraphWindowOption 74 }] 75 }); 76 77 var showGraphsButton = new Ext.MenuButton( 78 { 79 id: 'showgraphbutton', 80 text: 'Show graphs', 81 disabled: true, 82 menu: graphMenu, 83 listeners: 84 { 85 'click': 86 { 87 scope: this, 88 fn: ShowGraphs 46 89 } 47 90 } … … 902 945 } 903 946 904 var showGraphsButton =905 906 new Ext.Button(907 {908 text: 'Show graphs',909 tooltip: 'Show node graphs for selected jobs',910 iconCls: 'option',911 disabled: true,912 listeners:913 {914 'click':915 {916 scope: this,917 fn: ShowGraphs918 }919 }920 });921 922 947 var JobListingEditorGrid = 923 948
Note: See TracChangeset
for help on using the changeset viewer.