Lines 198-204
function cloneItemBlock(index, unique_item_fields, callback) {
Link Here
|
198 |
buttonPlus += '<span id="add_multiple_copies" style="display:none">' |
198 |
buttonPlus += '<span id="add_multiple_copies" style="display:none">' |
199 |
+ '<input type="text" inputmode="numeric" pattern="[0-9]*" class="addItemControl" id="multiValue" name="multiValue" placeholder="' + __("Number of items to add") + '" />' |
199 |
+ '<input type="text" inputmode="numeric" pattern="[0-9]*" class="addItemControl" id="multiValue" name="multiValue" placeholder="' + __("Number of items to add") + '" />' |
200 |
+ '<input type="button" class="addItemControl" name="buttonAddMulti" style="cursor:pointer; margin:0 1em;" onclick="checkCount( this ,\'' + unique_item_fields + '\')" value="' + __("Add") + '" />' |
200 |
+ '<input type="button" class="addItemControl" name="buttonAddMulti" style="cursor:pointer; margin:0 1em;" onclick="checkCount( this ,\'' + unique_item_fields + '\')" value="' + __("Add") + '" />' |
201 |
+ '<div class="dialog message">' + __("NOTE: Fields listed in the 'UniqueItemsFields' system preference will not be copied") + '</div>' |
201 |
+ '<div class="dialog message">' + __("NOTE: Fields listed in the 'UniqueItemFields' system preference will not be copied") + '</div>' |
202 |
+ '</span>'; |
202 |
+ '</span>'; |
203 |
buttonPlus += "</fieldset>"; |
203 |
buttonPlus += "</fieldset>"; |
204 |
$(clone).append(buttonPlus); |
204 |
$(clone).append(buttonPlus); |
205 |
- |
|
|