changeset 4016:64ecf99e41f6

improve usability : make fckeditor select default text box everytime change protocol box on attachment dialog
author Byeongweon [tasyblue@gmail.com]
date Sun, 17 Aug 2008 21:37:24 +0900
parents 73e64899e511
children 05f8344e6085
files wiki/htdocs/applets/moinFCKplugins/moinimage/fck_image.js
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/wiki/htdocs/applets/moinFCKplugins/moinimage/fck_image.js	Thu Aug 14 11:03:50 2008 +0900
+++ b/wiki/htdocs/applets/moinFCKplugins/moinimage/fck_image.js	Sun Aug 17 21:37:24 2008 +0900
@@ -82,6 +82,8 @@
 { 
   var sProtocol = GetE('cmbLinkProtocol').value;
   ShowE('divChkLink', (sProtocol!='attachment:' && sProtocol!='drawing:'));
+  // select first text input element of dialog for usability
+  SelectField('txtUrl');
 }
 
 //#### Called while the user types the URL.