auto focus fields on some modal dialogs

This commit is contained in:
viliusle 2023-12-01 14:24:02 +02:00
parent 85e850b40d
commit b34b031f3d
2 changed files with 4 additions and 0 deletions

View File

@ -74,6 +74,8 @@ class Image_resize_class {
},
};
this.POP.show(settings);
document.getElementById("pop_data_width").select();
}
async do_resize(params) {

View File

@ -156,6 +156,8 @@ class Media_class extends Base_tools_class {
},
};
this.POP.show(settings);
document.getElementById("pop_data_query").select();
}
}