Bug 11272 - add second submit button to inventory form
The inventory tool allows for 2 ways of processing files. The first is to upload a file. The second is to generate the shelf list. Most libraries think they have to fill in all fields because the submit button is at the bottom of the second option. They do not. This patch adds a second submit button under the first method to make this clearer. To test: * Generate a file of barcodes for inventorying * Before applying the patch use the file upload method to mark as seen * Apply the patch * Use the file upload method to mark as seen using the new submit * Repeat the above for the shelf list method * Confirm that inventory still works as expected with 2 buttons Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
parent
65ae7a950d
commit
40ba1763af
|
|
@ -97,6 +97,10 @@ $(document).ready(function(){
|
|||
</li>
|
||||
</ol>
|
||||
</fieldset>
|
||||
|
||||
<!-- submit button for uploaded file -->
|
||||
<fieldset class="action"><input type="submit" value="Submit" class="button" /></fieldset>
|
||||
|
||||
<fieldset class="rows">
|
||||
<legend>Select items you want to check</legend>
|
||||
<ol><li>
|
||||
|
|
@ -184,6 +188,8 @@ $(document).ready(function(){
|
|||
</ol>
|
||||
</fieldset>
|
||||
<input type="hidden" name="op" value="do_it" />
|
||||
|
||||
<!-- repeat submit button for generating shelf list -->
|
||||
<fieldset class="action"><input type="submit" value="Submit" class="button" /></fieldset>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue