Changeset 296


Ignore:
Timestamp:
03/30/09 23:46:55 (8 years ago)
Author:
sbenthall
Message:

"Done" button on CapabilitiesGrid window

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js

    r295 r296  
    199199
    200200    showCapabilitiesGrid: function(){
     201
     202        var doneButton = new Ext.Button({
     203            text: "Done"
     204        })
     205
     206
    201207        var win = new Ext.Window({
    202208            items: [
     
    205211                    mapPanel : this.mapPanel
    206212                })
    207             ]
    208         });
    209        
     213            ],
     214            bbar: [doneButton]
     215               
     216        });
     217       
     218        doneButton.setHandler(win.close, win)
     219
    210220        win.show();
    211221    },
Note: See TracChangeset for help on using the changeset viewer.