[Commits] r1180 - apps/opengeo/geoexplorer/trunk/src/script/app
commits at geoext.org
commits at geoext.org
Wed Jul 1 01:53:06 CEST 2009
Author: tschaub
Date: 2009-07-01 01:53:05 +0200 (Wed, 01 Jul 2009)
New Revision: 1180
Modified:
apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer.js
Log:
Making the bookmark dialog modal to avoid many open bookmark dialogs. Selecting the text on focus to make it less easy to select only part of the url.
Modified: apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer.js 2009-06-30 22:41:40 UTC (rev 1179)
+++ apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer.js 2009-06-30 23:53:05 UTC (rev 1180)
@@ -1346,16 +1346,22 @@
var win = new Ext.Window({
title: "Bookmark URL",
layout: 'form',
+ labelAlign: 'top',
+ modal: true,
+ bodyStyle: "padding: 5px",
+ width: 300,
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