summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorVadim Savchuk <vsavchuk@productengine.com>2010-07-15 15:39:28 +0300
committerVadim Savchuk <vsavchuk@productengine.com>2010-07-15 15:39:28 +0300
commitee19ef5486899028b6ed6307f220daff72a27338 (patch)
tree63a01e85db9e008993de357b931ddf68c40b74ec /indra/newview
parent0def4c60c2978204c460974110be649e05fd3390 (diff)
EXT-8343 FIXED Fixed inability to rename a wearable containing non-ASCII character in the name.
It is actually possible to edit a default item name in My Inventory: when user clicks on the input field, all its text gets selected, so user can just enter the new name (although editing the old name is disallowed). This fix implements the same behavior in the Edit Wearable panel by selecting the name when the input field gets focused. Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/763/ --HG-- branch : product-engine
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/skins/default/xui/en/panel_edit_wearable.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/skins/default/xui/en/panel_edit_wearable.xml b/indra/newview/skins/default/xui/en/panel_edit_wearable.xml
index 484617df34..9fb777e0e7 100644
--- a/indra/newview/skins/default/xui/en/panel_edit_wearable.xml
+++ b/indra/newview/skins/default/xui/en/panel_edit_wearable.xml
@@ -242,6 +242,7 @@
max_length="63"
name="description"
prevalidate_callback="ascii"
+ select_on_focus="true"
text_color="black"
top_pad="3"
width="290" />