@osimatic/helpers-js 1.2.6 → 1.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/form_helper.js +1 -1
  2. package/package.json +1 -1
package/form_helper.js CHANGED
@@ -597,7 +597,7 @@ class ArrayField {
597
597
  return false;
598
598
  });
599
599
  divAdd.find('a.add').off('click').click(function () {
600
- submitAddNewItem(divAdd.find('input[type="text"]').val(), divAdd);
600
+ submitAddNewItem(divAdd.find('input.form-control[type="text"]').val(), divAdd);
601
601
  return false;
602
602
  });
603
603
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osimatic/helpers-js",
3
- "version": "1.2.6",
3
+ "version": "1.2.7",
4
4
  "main": "main.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"