Added focus to popup
When collection add popup is shown, the textbox gets focus
This commit is contained in:
@@ -72,6 +72,11 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
$('.collectionItemSearchForm').off('submit', EditCollectionItemsPage.onSearchFormSubmit).on('submit', EditCollectionItemsPage.onSearchFormSubmit);
|
||||
$(document).on("pageinit", function () {
|
||||
$(".popupIdentify").on("popupafteropen", function (e) {
|
||||
$("#txtLookupName").focus().selct();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user