Skip to content

Commit

Permalink
点击新建按钮焦点自动跳转到服务器别名处
Browse files Browse the repository at this point in the history
  • Loading branch information
Paull committed Dec 30, 2016
1 parent 06e30eb commit ae82ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hiwifi/www/turbo-static/turbo/v2/js/admin_web/easucks.js
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ $(function () {
$('#ss_create').on('click', function(){
var random_name = 'server'+Math.round(Math.random()*10000);
$('#ss_server_choice').append('<option value="'+random_name+'">'+random_name+'</option>').val(random_name);
$('#ss_server_name').val(random_name);
$('#ss_server_name').val(random_name).select();
$('#ss_server_ipad').val('');
$('#ss_server_port').val('');
$('#ss_server_pass').val('');
Expand Down

0 comments on commit ae82ffa

Please sign in to comment.