[Commits] r1088 - apps/opengeo/geoexplorer/branches/0.1.x/lib

commits at geoext.org commits at geoext.org
Tue Jun 16 23:06:38 CEST 2009


Author: tschaub
Date: 2009-06-16 23:06:38 +0200 (Tue, 16 Jun 2009)
New Revision: 1088

Modified:
   apps/opengeo/geoexplorer/branches/0.1.x/lib/GeoExplorer.js
Log:
Make it less easy to select only part of the bookmark.

Modified: apps/opengeo/geoexplorer/branches/0.1.x/lib/GeoExplorer.js
===================================================================
--- apps/opengeo/geoexplorer/branches/0.1.x/lib/GeoExplorer.js	2009-06-16 16:27:51 UTC (rev 1087)
+++ apps/opengeo/geoexplorer/branches/0.1.x/lib/GeoExplorer.js	2009-06-16 21:06:38 UTC (rev 1088)
@@ -995,16 +995,21 @@
         var win = new Ext.Window({
             title: "Bookmark URL",
             layout: 'form',
+            labelAlign: 'top',
+            bodyStyle: "padding: 5px",
             items: [{
                 xtype: 'textfield',
                 fieldLabel: 'Permalink',
                 readOnly: true,
+                anchor: "100%",
+                selectOnFocus: true,
                 value: url
             }],
             width: 300
         });
 
         win.show();
+        win.items.first().selectText();
 
         return url;
     },



More information about the Commits mailing list