From 9f58596a0986f01dca735160fa7fbfe29f6c7dc1 Mon Sep 17 00:00:00 2001 From: Shiva Poudel Date: Thu, 3 May 2018 17:01:54 +0545 Subject: [PATCH] Version bumps to 1.1.5 --- assets/js/admin/everest-panel-builder.min.js | 2 +- assets/js/admin/settings.min.js | 2 +- assets/js/frontend/everest-forms.min.js | 2 +- everest-forms.php | 2 +- includes/class-everest-forms.php | 2 +- languages/everest-forms.pot | 52 ++++++++++---------- package.json | 2 +- readme.txt | 2 +- 8 files changed, 33 insertions(+), 33 deletions(-) diff --git a/assets/js/admin/everest-panel-builder.min.js b/assets/js/admin/everest-panel-builder.min.js index 5ac3d64ab..a74b460c2 100644 --- a/assets/js/admin/everest-panel-builder.min.js +++ b/assets/js/admin/everest-panel-builder.min.js @@ -1 +1 @@ -!function(f,c){var r={init:function(){f(document).ready(r.ready),f(window).on("load",r.load),r.bindUI()},ready:function(){jconfirm.defaults={closeIcon:!0,backgroundDismiss:!0,escapeKey:!0,animationBounce:1,useBootstrap:!1,theme:"modern",boxWidth:"400px",columnClass:"evf-responsive-class"},f(document).trigger("everest_forms_ready")},load:function(){},bindUI:function(){r.bindDefaultTabs(),r.checkEmptyGrid(),r.bindFields(),r.bindFormPreview(),r.bindGridSwitcher(),r.bindFieldSettings(),r.bindFieldDelete(),r.bindCloneField(),r.bindSaveOption(),r.bindFieldOptionChange(),r.bindAddNewRow(),r.bindRemoveRow(),r.bindFormSettings(),r.choicesInit(),r.choicesUpdate(),"field-options"===c.tab&&f(".evf-panel-field-options-button").trigger("click")},choicesInit:function(){var e=f(".evf-choices-list");e.sortable({out:function(e,i){var t=f(e.target).attr("data-field-id");r.choiceChange(t)}});var i=e.closest(".everest-forms-field-option").attr("data-field-id");f("#everest-forms-field-"+i)},choicesUpdate:function(){f(".evf-choices-list");f("body").on("click",".evf-choices-list a.add",function(){var e=f(this).closest("li").clone();e.find('input[type="text"]').val("");var i=f(this).closest(".evf-choices-list"),t=i.attr("data-field-id"),n=i.find("li").length;n++,e.find('input[type="checkbox"],input[type="radio"]').prop("checked",!1),e.attr("data-key",n),e.find(".default").attr("name","form_fields["+t+"][choices]["+n+"][default]"),e.find(".label").attr("name","form_fields["+t+"][choices]["+n+"][label]"),e.find(".value").attr("name","form_fields["+t+"][choices]["+n+"][value]"),f(this).closest("li").after(e),r.choiceChange(t)}),f("body").on("click",".evf-choices-list a.remove",function(){var e=f(this).closest(".evf-choices-list"),i=e.attr("data-field-id");e.find("li").length<2?f.alert({title:!1,content:c.i18n_field_error_choice,icon:"dashicons dashicons-info",type:"blue",buttons:{ok:{text:c.i18n_ok,btnClass:"btn-confirm",keys:["enter"]}}}):(f(this).closest("li").remove(),r.choiceChange(i))});f("body").on("keyup paste click",".evf-choices-list input",function(){var e=f(this).closest(".evf-choices-list").attr("data-field-id");"radio"===f(this).attr("type").toLowerCase()&&f(this).is(":checked")&&(f(this).closest(".evf-choices-list").find('input[type="radio"]').prop("checked",!1),f(this).prop("checked",!0)),r.choiceChange(e)})},choiceChange:function(e){var i=f("#everest-forms-field-option-row-"+e+"-choices"),t=f("#everest-forms-field-"+e),n=t.find("ul.primary-input"),o=i.find("ul.evf-choices-list").attr("data-field-type");"select"===o&&(n=t.find("select.primary-input")),n.html(""),f.each(i.find("ul.evf-choices-list").find("li"),function(){var e=f(this).find(".default").attr("type"),i=f("
  • ").append('');"select"===o&&(i=f("
  • ").append('');"select"===o&&(i=f("