Bug 27455: (follow-up) Switch form JavaScript to focus class
Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
64b457925c
commit
91ee3a31cd
|
|
@ -139,7 +139,7 @@ Libraries › Administration › Koha
|
|||
[% library.branchcode | html %]
|
||||
[% ELSE %]
|
||||
<label for="branchcode" class="required">Library code: </label>
|
||||
<input type="text" name="branchcode" id="branchcode" size="10" maxlength="10" value="[% library.branchcode | html %]" class="required" required="required" />
|
||||
<input type="text" name="branchcode" id="branchcode" size="10" maxlength="10" value="[% library.branchcode | html %]" class="required focus" required="required" />
|
||||
<span class="required">Required</span>
|
||||
[% END %]
|
||||
</li>
|
||||
|
|
@ -327,8 +327,6 @@ Libraries › Administration › Koha
|
|||
var columns_settings = [% TablesSettings.GetColumns( 'admin', 'libraries', 'libraries', 'json' ) | $raw %];
|
||||
$(document).ready(function() {
|
||||
|
||||
$("#branchcode").focus();
|
||||
|
||||
var libraries_url = '/api/v1/libraries';
|
||||
var libraries = $("#libraries").api({
|
||||
"ajax": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue