Ticket #5456: 5456.patch

File 5456.patch, 481 bytes (added by Garry Yao, 14 years ago)
  • _samples/api_dialog.html

     
    9191                                        }
    9292                                ]
    9393                        });
    94                 }
     94
     95                        // Rewrite the 'onFocus' handler to always focus 'url' field.
     96                        dialogDefinition.onFocus = function()
     97                        {
     98                                var urlField = this.getContentElement( 'info', 'url' );
     99                                urlField.select();
     100                        }
     101                }
    95102        });
    96103
    97104        //]]>
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy