-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix: field close tab callback fired twice on mobile. (#167)
* Bugfix: field close tab callback fired twice on mobile. * version bump
- Loading branch information
1 parent
d2cdb04
commit 6163e71
Showing
22 changed files
with
26 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "formBuilder", | ||
"version": "1.9.32", | ||
"version": "1.9.33", | ||
"main": [ | ||
"dist/*" | ||
], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* | ||
formBuilder - http://kevinchappell.github.io/formBuilder/ | ||
Version: 1.9.32 | ||
Version: 1.9.33 | ||
Author: Kevin Chappell <[email protected]> | ||
*/ | ||
@charset "UTF-8"; | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* | ||
formBuilder - http://kevinchappell.github.io/formBuilder/ | ||
Version: 1.9.32 | ||
Version: 1.9.33 | ||
Author: Kevin Chappell <[email protected]> | ||
*/ | ||
* { | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* | ||
formBuilder - http://kevinchappell.github.io/formBuilder/ | ||
Version: 1.9.32 | ||
Version: 1.9.33 | ||
Author: Kevin Chappell <[email protected]> | ||
*/ | ||
'use strict'; | ||
|
@@ -2158,7 +2158,7 @@ function formBuilderEventsFn() { | |
}); | ||
|
||
// toggle fields | ||
$sortableFields.on('click touchstart', '.toggle-form', function (e) { | ||
$sortableFields.on('click touchstart', '.toggle-form, .close-field', function (e) { | ||
e.stopPropagation(); | ||
e.preventDefault(); | ||
if (e.handled !== true) { | ||
|
@@ -2317,12 +2317,6 @@ function formBuilderEventsFn() { | |
_helpers.updateMultipleSelect(); | ||
}); | ||
|
||
// Attach a callback to close link | ||
$sortableFields.on('click touchstart', '.close-field', function () { | ||
var fieldId = $(this).parents('li.form-field:eq(0)').attr('id'); | ||
_helpers.toggleEdit(fieldId); | ||
}); | ||
|
||
$sortableFields.on('mouseover mouseout', '.remove, .del-button', function () { | ||
$(this).parents('li:eq(0)').toggleClass('delete'); | ||
}); | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* | ||
formBuilder - http://kevinchappell.github.io/formBuilder/ | ||
Version: 1.9.32 | ||
Version: 1.9.33 | ||
Author: Kevin Chappell <[email protected]> | ||
*/ | ||
'use strict'; | ||
|
Oops, something went wrong.