webapp: added set focus to text input.

This commit is contained in:
Shreyas Zare
2021-03-13 13:25:15 +05:30
parent 96cdee48e5
commit 8db879ea2f

View File

@@ -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');