Changeset 350


Ignore:
Timestamp:
04/06/09 20:02:30 (8 years ago)
Author:
sbenthall
Message:

using 'form' layout for bookmark url window

File:
1 edited

Legend:

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

    r343 r350  
    398398            document.location.pathname + "?" + query;
    399399
    400         var html =
    401             "<form>" +
    402             "<p>You can come back to this map later using " +
    403             "the following URL:</p>" +
    404             "<input type='text' id='bookmark-url-input' class='bookmark-url' readonly='' value='" + url +"'>"
    405             "</input></form>";
    406 
    407400        var win = new Ext.Window({
    408401            title: "Bookmark URL",
    409             html: html
     402            layout: 'form',
     403            items: [{
     404                xtype: 'textfield',
     405                id: 'bookmark-window-textfield',
     406                fieldLabel: 'Permalink',
     407                readOnly: true,
     408                value: url
     409            }]
    410410        });
    411411
Note: See TracChangeset for help on using the changeset viewer.