Lines 100-106
Link Here
|
100 |
[% library.branchcode | html %] |
100 |
[% library.branchcode | html %] |
101 |
[% ELSE %] |
101 |
[% ELSE %] |
102 |
<label for="branchcode" class="required">Library code: </label> |
102 |
<label for="branchcode" class="required">Library code: </label> |
103 |
<input type="text" name="branchcode" id="branchcode" size="10" maxlength="10" value="[% library.branchcode | html %]" class="required" required="required" /> |
103 |
<input type="text" name="branchcode" id="branchcode" size="10" maxlength="10" value="[% library.branchcode | html %]" class="required focus" required="required" /> |
104 |
<span class="required">Required</span> |
104 |
<span class="required">Required</span> |
105 |
[% END %] |
105 |
[% END %] |
106 |
</li> |
106 |
</li> |
Lines 288-295
Link Here
|
288 |
var columns_settings = [% TablesSettings.GetColumns( 'admin', 'libraries', 'libraries', 'json' ) | $raw %]; |
288 |
var columns_settings = [% TablesSettings.GetColumns( 'admin', 'libraries', 'libraries', 'json' ) | $raw %]; |
289 |
$(document).ready(function() { |
289 |
$(document).ready(function() { |
290 |
|
290 |
|
291 |
$("#branchcode").focus(); |
|
|
292 |
|
293 |
var libraries_url = '/api/v1/libraries'; |
291 |
var libraries_url = '/api/v1/libraries'; |
294 |
var libraries = $("#libraries").api({ |
292 |
var libraries = $("#libraries").api({ |
295 |
"ajax": { |
293 |
"ajax": { |
296 |
- |
|
|