Form builder to get in touch with visitors, grow your email list and collect payments — Happyforms - Version 1.4.2

Version Description

  • Bug fix: Part widget toggle buttons didn't work on Firefox.
  • Bug fix: Part column widths were misbehaving on some themes.
Download this release

Release Info

Developer thethemefoundry
Plugin Icon 128x128 Form builder to get in touch with visitors, grow your email list and collect payments — Happyforms
Version 1.4.2
Comparing to
See all releases

Code changes from version 1.4.1 to 1.4.2

assets/css/frontend.css CHANGED
@@ -79,6 +79,7 @@ h3.happyforms-form__title {
79
  .happyforms-form__part {
80
  position: relative;
81
  display: block;
 
82
  width: 100%;
83
  margin-bottom: 20px;
84
  padding: 5px 1%;
79
  .happyforms-form__part {
80
  position: relative;
81
  display: block;
82
+ box-sizing: border-box;
83
  width: 100%;
84
  margin-bottom: 20px;
85
  padding: 5px 1%;
assets/js/customize.js CHANGED
@@ -719,7 +719,7 @@
719
  $: $,
720
 
721
  events: {
722
- 'click .toggle-indicator': 'onWidgetToggle',
723
  'click .happyforms-form-part-close': 'onWidgetToggle',
724
  'click .happyforms-form-part-remove': 'onPartRemoveClick',
725
  'click .happyforms-form-part-duplicate': 'onPartDuplicateClick',
@@ -1397,7 +1397,7 @@
1397
  var max = parseFloat( $sliderInput.attr( 'max' ) );
1398
  var step = parseFloat( $sliderInput.attr( 'step' ) );
1399
  var value = parseFloat( $sliderInput.val() );
1400
-
1401
  $sliderInput.on('keyup', function() {
1402
  var $this = $(this);
1403
 
@@ -1417,7 +1417,7 @@
1417
  max: max,
1418
  step: step,
1419
 
1420
- stop: function( e, ui ) {
1421
  $sliderInput.val(ui.value);
1422
  self.model.set( $sliderInput.attr( 'data-attribute' ), ui.value );
1423
 
@@ -1474,12 +1474,12 @@
1474
 
1475
  self.updateFormWidth(value, unit, $slider);
1476
  }
1477
-
1478
  $sliderInput.val(value);
1479
 
1480
  $sliderInput.on('keyup, change', function () {
1481
  var $this = $(this);
1482
-
1483
  self.updateFormWidth($this.val(), unit, $slider);
1484
  });
1485
 
@@ -1499,7 +1499,7 @@
1499
 
1500
  updateFormWidth: function( value, unit, $slider ) {
1501
  $slider.slider('value', value);
1502
-
1503
  this.model.set('form_width', value + unit);
1504
 
1505
  var data = {
719
  $: $,
720
 
721
  events: {
722
+ 'click .happyforms-widget-action': 'onWidgetToggle',
723
  'click .happyforms-form-part-close': 'onWidgetToggle',
724
  'click .happyforms-form-part-remove': 'onPartRemoveClick',
725
  'click .happyforms-form-part-duplicate': 'onPartDuplicateClick',
1397
  var max = parseFloat( $sliderInput.attr( 'max' ) );
1398
  var step = parseFloat( $sliderInput.attr( 'step' ) );
1399
  var value = parseFloat( $sliderInput.val() );
1400
+
1401
  $sliderInput.on('keyup', function() {
1402
  var $this = $(this);
1403
 
1417
  max: max,
1418
  step: step,
1419
 
1420
+ stop: function( e, ui ) {
1421
  $sliderInput.val(ui.value);
1422
  self.model.set( $sliderInput.attr( 'data-attribute' ), ui.value );
1423
 
1474
 
1475
  self.updateFormWidth(value, unit, $slider);
1476
  }
1477
+
1478
  $sliderInput.val(value);
1479
 
1480
  $sliderInput.on('keyup, change', function () {
1481
  var $this = $(this);
1482
+
1483
  self.updateFormWidth($this.val(), unit, $slider);
1484
  });
1485
 
1499
 
1500
  updateFormWidth: function( value, unit, $slider ) {
1501
  $slider.slider('value', value);
1502
+
1503
  this.model.set('form_width', value + unit);
1504
 
1505
  var data = {
happyforms.php CHANGED
@@ -5,7 +5,7 @@
5
  * Plugin URI: https://happyforms.me
6
  * Description: Your friendly drag and drop contact form builder for creating contact forms, lead generation forms, feedback forms, quote forms, survey forms and more!
7
  * Author: The Theme Foundry
8
- * Version: 1.4.1
9
  * Author URI: https://thethemefoundry.com
10
  * Upgrade URI: https://thethemefoundry.com
11
  */
@@ -13,7 +13,7 @@
13
  /**
14
  * The current version of the plugin.
15
  */
16
- define( 'HAPPYFORMS_VERSION', '1.4.1' );
17
 
18
  if ( ! function_exists( 'happyforms_plugin_file' ) ):
19
  /**
5
  * Plugin URI: https://happyforms.me
6
  * Description: Your friendly drag and drop contact form builder for creating contact forms, lead generation forms, feedback forms, quote forms, survey forms and more!
7
  * Author: The Theme Foundry
8
+ * Version: 1.4.2
9
  * Author URI: https://thethemefoundry.com
10
  * Upgrade URI: https://thethemefoundry.com
11
  */
13
  /**
14
  * The current version of the plugin.
15
  */
16
+ define( 'HAPPYFORMS_VERSION', '1.4.2' );
17
 
18
  if ( ! function_exists( 'happyforms_plugin_file' ) ):
19
  /**
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: contact, contact form, email, feedback form, form, form builder, custom fo
5
  Requires at least: 4.8
6
  Tested up to: 4.9.5
7
  Requires PHP: 5.2.4
8
- Stable tag: 1.4.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -74,6 +74,10 @@ Absolutely! HappyForms gets out of the way and is designed to work with any them
74
 
75
  == Changelog ==
76
 
 
 
 
 
77
  = 1.4.1 =
78
  * New feature: Form width style control, allowing to set form width in % or px.
79
  * New feature: Text alignment style control to allow for changing text align in various places in forms.
@@ -119,6 +123,9 @@ Absolutely! HappyForms gets out of the way and is designed to work with any them
119
 
120
  == Upgrade Notice ==
121
 
 
 
 
122
  = 1.4.1 =
123
  * Additional style controls, support for RTL languages, bug fixes.
124
 
5
  Requires at least: 4.8
6
  Tested up to: 4.9.5
7
  Requires PHP: 5.2.4
8
+ Stable tag: 1.4.2
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
74
 
75
  == Changelog ==
76
 
77
+ = 1.4.2 =
78
+ * Bug fix: Part widget toggle buttons didn't work on Firefox.
79
+ * Bug fix: Part column widths were misbehaving on some themes.
80
+
81
  = 1.4.1 =
82
  * New feature: Form width style control, allowing to set form width in % or px.
83
  * New feature: Text alignment style control to allow for changing text align in various places in forms.
123
 
124
  == Upgrade Notice ==
125
 
126
+ = 1.4.2 =
127
+ * Minor bug fixes.
128
+
129
  = 1.4.1 =
130
  * Additional style controls, support for RTL languages, bug fixes.
131