Skip to content

Commit

Permalink
LIMS-693: Give Name text field default focus in Add New Shipment view (
Browse files Browse the repository at this point in the history
…#650)

Co-authored-by: Mark Williams <[email protected]>
  • Loading branch information
ndg63276 and Mark Williams authored Nov 8, 2023
1 parent 3f41aa0 commit 529a435
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/src/js/modules/shipment/views/shipmentadd.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@ define(['marionette', 'views/form',
this.checkFCodes()
},

onShow: function() {
this.ui.name.focus()
},

refreshDewars: function() {
this.dewars.fetch()
},
Expand Down

0 comments on commit 529a435

Please sign in to comment.