mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-01-06 08:45:32 +00:00
webapp: added set focus to text input.
This commit is contained in:
@@ -81,6 +81,10 @@ function showInstallAppModal() {
|
||||
$("#btnInstallApp").button("reset");
|
||||
|
||||
$("#modalInstallApp").modal("show");
|
||||
|
||||
setTimeout(function () {
|
||||
$("#txtInstallApp").focus();
|
||||
}, 1000);
|
||||
}
|
||||
|
||||
function installApp() {
|
||||
@@ -177,6 +181,10 @@ function showAppConfigModal(objBtn, appName) {
|
||||
$("#btnAppConfig").button("reset");
|
||||
|
||||
$("#modalAppConfig").modal("show");
|
||||
|
||||
setTimeout(function () {
|
||||
$("#txtAppConfig").focus();
|
||||
}, 1000);
|
||||
},
|
||||
error: function () {
|
||||
btn.button('reset');
|
||||
|
||||
Reference in New Issue
Block a user