WhatsApp Chat WP - Version 4.5.6

Version Description

Hello! We've recently acquired this plugin and included tons of new features.

Download this release

Release Info

Developer quadlayers
Plugin Icon 128x128 WhatsApp Chat WP
Version 4.5.6
Comparing to
See all releases

Code changes from version 4.5.5 to 4.5.6

assets/backend/css/qlwapp-select2.css CHANGED
@@ -353,7 +353,8 @@
353
  border: none;
354
  outline: 0;
355
  box-shadow: none;
356
- -webkit-appearance: textfield
 
357
  }
358
 
359
  .select2-container--default .select2-results>.select2-results__options {
353
  border: none;
354
  outline: 0;
355
  box-shadow: none;
356
+ -webkit-appearance: textfield;
357
+ margin: 0!important;
358
  }
359
 
360
  .select2-container--default .select2-results>.select2-results__options {
assets/backend/css/qlwapp-select2.min.css CHANGED
@@ -1,2 +1,2 @@
1
 
2
- .select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle;z-index:9999}.modal-open .select2-container--open{z-index:160010}.select2-container .select2-selection{box-sizing:border-box;cursor:pointer;display:block;height:28px;margin:0 0 -4px;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.select2-container .select2-selection .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection .select2-selection__clear{position:relative}.select2-container[dir=rtl] .select2-selection .select2-selection__rendered{padding-right:8px;padding-left:20px}.select2-container .select2-selection{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.select2-container .select2-selection .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-search--inline{float:left;padding:0}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:0;font-size:100%;margin:0;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background-color:#fff;border:1px solid #ccc;border-radius:2px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{margin:0;padding:8px;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.select2-results__option[aria-selected],.select2-results__option[data-selected]{cursor:pointer}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:0;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff}.select2-hidden-accessible{border:0!important;clip:rect(0 0 0 0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important}.select2-container--default .select2-selection{background-color:#fff;border:1px solid #ccc;border-radius:4px}.select2-container--default .select2-selection .select2-selection__clear{cursor:pointer;float:right;font-weight:700}.select2-container--default .select2-selection .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection .select2-selection__arrow{height:32px;position:absolute;top:0;right:1px;width:20px}.select2-container--default .select2-selection .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--default[dir=rtl] .select2-selection .select2-selection__clear{float:left}.select2-container--default[dir=rtl] .select2-selection .select2-selection__arrow{left:1px;right:auto}.select2-container--default.select2-container--disabled .select2-selection{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--default .select2-selection{background-color:#fff;border:1px solid #ccc;border-radius:2px;cursor:text}.select2-container--default .select2-selection .select2-selection__rendered{color:#444;line-height:30px;box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default .select2-selection .select2-selection__rendered li{list-style:none;margin:2px 4px 2px 0;line-height:24px}.select2-container--default .select2-selection .select2-selection__rendered li.select2-search{margin:0}.select2-container--default .select2-selection .select2-selection__rendered li:before{content:'';display:none}.select2-container--default .select2-selection .select2-selection__placeholder{color:#999;float:left}.select2-container--default .select2-selection .select2-selection__clear{cursor:pointer;float:right;font-weight:700;margin-right:10px}.select2-container--default .select2-selection .select2-selection__choice{background-color:#e4e4e4;border:1px solid #ccc;border-radius:2px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default .select2-selection .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--default .select2-selection .select2-selection__choice__remove:hover{color:#333}.select2-container--default[dir=rtl] .select2-selection .select2-search--inline,.select2-container--default[dir=rtl] .select2-selection .select2-selection__choice,.select2-container--default[dir=rtl] .select2-selection .select2-selection__placeholder{float:right}.select2-container--default[dir=rtl] .select2-selection .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--default[dir=rtl] .select2-selection .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--default.select2-container--focus .select2-selection{outline:0}.select2-container--default.select2-container--disabled .select2-selection{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection,.select2-container--default.select2-container--open.select2-container--above .select2-selection{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection,.select2-container--default.select2-container--open.select2-container--below .select2-selection{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #ccc}.select2-container--default .select2-search--inline .select2-search__field{background:0;border:0;outline:0;box-shadow:none;-webkit-appearance:textfield}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--default .select2-results__option[role=group]{padding:0}.select2-container--default .select2-results__option[aria-disabled=true]{color:#999}.select2-container--default .select2-results__option[aria-selected=true],.select2-container--default .select2-results__option[data-selected=true]{background-color:#ddd}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--highlighted[aria-selected],.select2-container--default .select2-results__option--highlighted[data-selected]{background-color:#0073aa;color:#fff}
1
 
2
+ .select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle;z-index:9999}.modal-open .select2-container--open{z-index:160010}.select2-container .select2-selection{box-sizing:border-box;cursor:pointer;display:block;height:28px;margin:0 0 -4px;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.select2-container .select2-selection .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection .select2-selection__clear{position:relative}.select2-container[dir=rtl] .select2-selection .select2-selection__rendered{padding-right:8px;padding-left:20px}.select2-container .select2-selection{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.select2-container .select2-selection .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-search--inline{float:left;padding:0}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:0;font-size:100%;margin:0;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background-color:#fff;border:1px solid #ccc;border-radius:2px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{margin:0;padding:8px;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}.select2-results__option[aria-selected],.select2-results__option[data-selected]{cursor:pointer}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:0;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff}.select2-hidden-accessible{border:0!important;clip:rect(0 0 0 0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important}.select2-container--default .select2-selection{background-color:#fff;border:1px solid #ccc;border-radius:4px}.select2-container--default .select2-selection .select2-selection__clear{cursor:pointer;float:right;font-weight:700}.select2-container--default .select2-selection .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection .select2-selection__arrow{height:32px;position:absolute;top:0;right:1px;width:20px}.select2-container--default .select2-selection .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--default[dir=rtl] .select2-selection .select2-selection__clear{float:left}.select2-container--default[dir=rtl] .select2-selection .select2-selection__arrow{left:1px;right:auto}.select2-container--default.select2-container--disabled .select2-selection{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--default .select2-selection{background-color:#fff;border:1px solid #ccc;border-radius:2px;cursor:text}.select2-container--default .select2-selection .select2-selection__rendered{color:#444;line-height:30px;box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default .select2-selection .select2-selection__rendered li{list-style:none;margin:2px 4px 2px 0;line-height:24px}.select2-container--default .select2-selection .select2-selection__rendered li.select2-search{margin:0}.select2-container--default .select2-selection .select2-selection__rendered li:before{content:'';display:none}.select2-container--default .select2-selection .select2-selection__placeholder{color:#999;float:left}.select2-container--default .select2-selection .select2-selection__clear{cursor:pointer;float:right;font-weight:700;margin-right:10px}.select2-container--default .select2-selection .select2-selection__choice{background-color:#e4e4e4;border:1px solid #ccc;border-radius:2px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default .select2-selection .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--default .select2-selection .select2-selection__choice__remove:hover{color:#333}.select2-container--default[dir=rtl] .select2-selection .select2-search--inline,.select2-container--default[dir=rtl] .select2-selection .select2-selection__choice,.select2-container--default[dir=rtl] .select2-selection .select2-selection__placeholder{float:right}.select2-container--default[dir=rtl] .select2-selection .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--default[dir=rtl] .select2-selection .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--default.select2-container--focus .select2-selection{outline:0}.select2-container--default.select2-container--disabled .select2-selection{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection,.select2-container--default.select2-container--open.select2-container--above .select2-selection{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection,.select2-container--default.select2-container--open.select2-container--below .select2-selection{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #ccc}.select2-container--default .select2-search--inline .select2-search__field{background:0;border:0;outline:0;box-shadow:none;-webkit-appearance:textfield;margin:0!important}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--default .select2-results__option[role=group]{padding:0}.select2-container--default .select2-results__option[aria-disabled=true]{color:#999}.select2-container--default .select2-results__option[aria-selected=true],.select2-container--default .select2-results__option[data-selected=true]{background-color:#ddd}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--highlighted[aria-selected],.select2-container--default .select2-results__option--highlighted[data-selected]{background-color:#0073aa;color:#fff}
assets/backend/js/qlwapp-admin-contact.js CHANGED
@@ -121,10 +121,7 @@
121
  var LoadTemplate = Backbone.View.extend({
122
  templates: {},
123
  initialize: function (options) {
124
- // this.model.attributes = options.attributes;
125
- // console.log(options);
126
  this.templates.window = wp.template(options.subview);
127
- // return this.init();
128
  },
129
  render: function () {
130
  var modal = this;
@@ -229,7 +226,6 @@
229
  alert('Error!');
230
  },
231
  success: function (response) {
232
- // console.log(response.data);
233
  if (response.success) {
234
  modal.model.set(response.data);
235
  modal.render();
@@ -245,7 +241,7 @@
245
  $button = $(e.target),
246
  contact_count = parseInt($('#qlwapp_contacts_table tr[data-contact_id]').length),
247
  order = parseInt(modal.model.get('order'));
248
- //var global
249
  count++;
250
  if (timer) {
251
  clearTimeout(timer);
@@ -258,7 +254,6 @@
258
  } else {
259
  order = Math.max(order - count, 1);
260
  }
261
- // console.log(order);
262
  modal.model.set({
263
  id: parseInt($('#qlwapp_contacts_table tr[data-contact_position=' + order + ']').data('contact_id'))
264
  });
@@ -415,14 +410,11 @@
415
  // $spinner.removeClass('is-active');
416
  },
417
  error: function (response) {
418
- console.log('response from error ');
419
  console.log(response);
420
- /// alert(response);
421
  },
422
  success: function (response) {
423
 
424
  if (response.data) {
425
- // console.log(response.data);
426
  location.reload();
427
  } else {
428
  alert(response.data);
@@ -520,21 +512,16 @@
520
  $spinner.removeClass('is-active');
521
  },
522
  error: function (response) {
523
- console.log('response from error ');
524
  console.log(response);
525
- /// alert(response);
526
  },
527
  success: function (response) {
528
- // console.log(response);
529
  $saved.addClass('is-active');
530
  $('#qlwapp_contact_order').prop('disabled', true);
531
  if (response.success) {
532
  setTimeout(function () {
533
  $saved.removeClass('is-active');
534
  }, 1500);
535
- // console.log(response.data);
536
  } else {
537
- console.log(response.data);
538
  alert(response.data);
539
  }
540
  }
121
  var LoadTemplate = Backbone.View.extend({
122
  templates: {},
123
  initialize: function (options) {
 
 
124
  this.templates.window = wp.template(options.subview);
 
125
  },
126
  render: function () {
127
  var modal = this;
226
  alert('Error!');
227
  },
228
  success: function (response) {
 
229
  if (response.success) {
230
  modal.model.set(response.data);
231
  modal.render();
241
  $button = $(e.target),
242
  contact_count = parseInt($('#qlwapp_contacts_table tr[data-contact_id]').length),
243
  order = parseInt(modal.model.get('order'));
244
+ //var global
245
  count++;
246
  if (timer) {
247
  clearTimeout(timer);
254
  } else {
255
  order = Math.max(order - count, 1);
256
  }
 
257
  modal.model.set({
258
  id: parseInt($('#qlwapp_contacts_table tr[data-contact_position=' + order + ']').data('contact_id'))
259
  });
410
  // $spinner.removeClass('is-active');
411
  },
412
  error: function (response) {
 
413
  console.log(response);
 
414
  },
415
  success: function (response) {
416
 
417
  if (response.data) {
 
418
  location.reload();
419
  } else {
420
  alert(response.data);
512
  $spinner.removeClass('is-active');
513
  },
514
  error: function (response) {
 
515
  console.log(response);
 
516
  },
517
  success: function (response) {
 
518
  $saved.addClass('is-active');
519
  $('#qlwapp_contact_order').prop('disabled', true);
520
  if (response.success) {
521
  setTimeout(function () {
522
  $saved.removeClass('is-active');
523
  }, 1500);
 
524
  } else {
 
525
  alert(response.data);
526
  }
527
  }
assets/backend/js/qlwapp-admin-contact.min.js CHANGED
@@ -1 +1,2 @@
1
- (function(d){var e=0,k;var r=function(s){return s.is(".processing")||s.parents(".processing").length};var i=function(){d("#qlwapp_modal").addClass("processing")};var g=function(){d("#qlwapp_modal").removeClass("processing")};_.mixin({escapeHtml:function(s){return s.replace("&amp;",/&/g).replace(/&gt;/g,">").replace(/&lt;/g,"<").replace(/&quot;/g,'"').replace(/&#039;/g,"'")},});var f=Backbone.Model.extend({defaults:qlwapp_contact.args});var c=Backbone.View.extend({templates:{},initialize:function(s){this.templates.window=wp.template(s.subview)},render:function(){var s=this;s.$el.html(s.templates.window(s.attributes));return this}});var a=Backbone.View.extend({templates:{},initialize:function(s){this.templates.window=wp.template(s.subview)},render:function(){var s=this;s.$el.html(s.templates.window(s.attributes));return this}});var n=Backbone.View.extend({templates:{},initialize:function(s){this.templates.window=wp.template(s.subview)},render:function(){var s=this;s.$el.html(s.templates.window(s.attributes));return this}});var l=Backbone.View.extend({templates:{},initialize:function(s){this.templates.window=wp.template(s.subview)},render:function(){var s=this;s.$el.html(s.templates.window(s.attributes));return this}});var p=Backbone.View.extend({templates:{},initialize:function(s){this.templates.window=wp.template(s.subview)},render:function(){var s=this;s.$el.html(s.templates.window(s.attributes));return this}});var h=Backbone.View.extend({templates:{},initialize:function(s){this.templates.window=wp.template(s.subview)},render:function(){var s=this;s.$el.html(s.templates.window(s.attributes));return this}});var m=Backbone.View.extend({templates:{},initialize:function(s){this.templates.window=wp.template(s.subview)},render:function(){var s=this;s.$el.html(s.templates.window(s.attributes));return this}});var q=Backbone.View.extend({templates:{},initialize:function(s){this.templates.window=wp.template(s.subview)},render:function(){var s=this;s.$el.html(s.templates.window(s.attributes));return this}});var o=Backbone.View.extend({events:{"change input":"enable","change textarea":"enable","change select":"enable","click .media-modal-backdrop":"close","click .media-modal-close":"close","click .media-modal-prev":"edit","click .media-modal-next":"edit","change .media-modal-change":"change","change .media-modal-subview":"subview","submit .media-modal-form":"submit"},templates:{},initialize:function(){_.bindAll(this,"open","edit","change","subview","load","render","close","submit");this.init();this.open()},init:function(){this.templates.window=wp.template("qlwapp-modal-window")},LoadTemplate1:function(t){var s=Backbone.View.extend({templates:{},initialize:function(u){this.templates.window=wp.template(u.subview)},render:function(){var u=this;u.$el.html(u.templates.window(u.attributes));return this}});return s},assign:function(t,s){t.setElement(this.$(s)).render()},render:function(){var t=this;var s=this.$el.find("ul.wc-tabs li.active a").attr("href");t.$el.html(t.templates.window(t.model.attributes));this.header=new c({subview:"subview-header",attributes:t.model.attributes});this.footer=new a({subview:"subview-footer",attributes:t.model.attributes});this.tabs=new n({subview:"subview-tabs",attributes:t.model.attributes});this.contact=new l({subview:"subview-contact",attributes:t.model.attributes});this.contact_chat=new p({subview:"subview-contact-chat",attributes:t.model.attributes});this.info=new m({subview:"subview-contact-info",attributes:t.model.attributes});this.visibility=new h({subview:"subview-visibility",attributes:t.model.attributes});this.assign(this.header,"#panel-header");this.assign(this.footer,"#panel-footer");this.assign(this.tabs,"#panel-tabs");this.assign(this.contact,"#panel-contact");this.assign(this.contact_chat,"#subpanel-contact-chat");this.assign(this.info,"#panel-info");this.assign(this.visibility,"#panel-visibility");_.delay(function(){t.$el.trigger("qlwapp-enhanced-select");t.$el.trigger("qlwapp-tab-panels",s)},100)},load:function(){var s=this;i();d.ajax({url:ajaxurl,data:{action:"qlwapp_edit_contact",nonce:qlwapp_contact.nonce.qlwapp_edit_contact,contact_id:this.model.attributes.id},dataType:"json",type:"POST",beforeSend:function(){},complete:function(){g()},error:function(){alert("Error!")},success:function(t){if(t.success){s.model.set(t.data);s.render()}else{alert(t.data)}}})},edit:function(w){w.preventDefault();var u=this,v=d(w.target),t=parseInt(d("#qlwapp_contacts_table tr[data-contact_id]").length),s=parseInt(u.model.get("order"));e++;if(k){clearTimeout(k)}k=setTimeout(function(){if(v.hasClass("media-modal-next")){s=Math.min(s+e,t)}else{s=Math.max(s-e,1)}u.model.set({id:parseInt(d("#qlwapp_contacts_table tr[data-contact_position="+s+"]").data("contact_id"))});e=0;u.load()},300)},open:function(s){d("body").addClass("modal-open").append(this.$el);if(this.model.attributes.id==undefined){_.delay(function(){g()},100);return}this.load()},update:function(v){v.preventDefault();var t=d(v.target),s=t.attr("name"),u=t.val();if(v.target.type==="checkbox"){u=t.prop("checked")===true?1:0}this.model.attributes[s]=u;this.model.changed[s]=u},change:function(s){s.preventDefault();this.update(s)},subview:function(s){this.contact_chat.render()},reload:function(s){if(this.$el.find("#qlwapp_modal").hasClass("reload")){location.reload();return}this.remove();return},close:function(s){s.preventDefault();this.undelegateEvents();d(document).off("focusin");this.$el.find("#qlwapp_modal").addClass("reload");this.reload(s);return},enable:function(s){d(".media-modal-submit").removeProp("disabled")},submit:function(v){v.preventDefault();var u=this,t=u.$el.find("#qlwapp_modal"),s=t.find(".attachment-details");d.ajax({url:ajaxurl,data:{action:"qlwapp_save_contact",nonce:qlwapp_contact.nonce.qlwapp_save_contact,contact_id:u.model.attributes.id,contact_data:d("form",this.$el).serialize()},dataType:"json",type:"POST",beforeSend:function(){d(".media-modal-submit").prop("disabled",true);s.addClass("save-waiting")},complete:function(){s.addClass("save-complete");s.removeClass("save-waiting")},error:function(){alert("Error!")},success:function(w){if(w.success){if(u.model.attributes.id==undefined){t.addClass("reload");u.reload(v);u.close(v)}}else{alert(w.data)}}});return false}});var b=Backbone.View.extend({initialize:function(v){var u=d(v.target),t=u.closest("[data-contact_id]").data("contact_id");var s=new f();s.set({id:t});new o({model:s}).render()}});var j=false;d(".qlwapp_settings_edit").on("click",function(s){s.preventDefault();if(!j){new b(s);j=true}});d("#qlwapp_contact_add").on("click",function(s){s.preventDefault();new b(s)});d(".qlwapp_settings_delete").on("click",function(v){v.preventDefault();var s=d("#qlwapp_delete_contact_nonce").val();var u=d(v.target),t=u.closest("[data-contact_id]").data("contact_id");if(!confirm(qlwapp_contact.message.contact_confirm_delete)){return false}else{d.ajax({url:ajaxurl,data:{action:"qlwapp_delete_contact",nonce:s,contact_id:t},dataType:"json",type:"POST",beforeSend:function(){},complete:function(){},error:function(w){console.log("response from error ");console.log(w)},success:function(w){if(w.data){location.reload()}else{alert(w.data)}}})}});d("table#qlwapp_contacts_table tbody").sortable({items:"tr",cursor:"move",axis:"y",handle:"td.sort",scrollSensitivity:40,helper:function(s,t){t.children().each(function(){d(this).width(d(this).width())});t.css("left","0");return t},start:function(s,t){t.item.css("background-color","#f6f6f6")},stop:function(s,t){t.item.removeAttr("style");t.item.trigger("updateMoveButtons");t.item.trigger("updateSaveButton")}});d(document).on("updateSaveButton",function(){d("#qlwapp_contact_order").removeProp("disabled")});d(".wc-item-reorder-nav").find(".wc-move-up, .wc-move-down").on("click",function(){var x=d(this),s=x.closest("tr");x.focus();var w=x.is(".wc-move-up"),v=x.is(".wc-move-down");if(w){var u=s.prev("tr");if(u&&u.length){u.before(s)}}else{if(v){var t=s.next("tr");if(t&&t.length){t.after(s)}}}x.focus();x.closest("table").trigger("updateMoveButtons");x.closest("table").trigger("updateSaveButton")});d(".wc-item-reorder-nav").closest("table").on("updateMoveButtons",function(){var t=d(this),s=d(this).find("tbody tr:last"),u=d(this).find("tbody tr:first");t.find(".wc-item-reorder-nav .wc-move-disabled").removeClass("wc-move-disabled").attr({tabindex:"0","aria-hidden":"false"});u.find(".wc-item-reorder-nav .wc-move-up").addClass("wc-move-disabled").attr({tabindex:"-1","aria-hidden":"true"});s.find(".wc-item-reorder-nav .wc-move-down").addClass("wc-move-disabled").attr({tabindex:"-1","aria-hidden":"true"})});d("table#qlwapp_contacts_table tbody").trigger("updateMoveButtons");d(document).on("submit","#qlwapp_contacts_form",function(v){v.preventDefault();var s=d(this),u=s.find(".settings-save-status .spinner"),t=s.find(".settings-save-status .saved");d.ajax({url:ajaxurl,data:{action:"qlwapp_save_contact_order",nonce:qlwapp_contact.nonce.qlwapp_save_contact_order,contact_data:s.serialize()},dataType:"json",type:"POST",beforeSend:function(){u.addClass("is-active")},complete:function(){u.removeClass("is-active")},error:function(w){console.log("response from error ");console.log(w)},success:function(w){t.addClass("is-active");d("#qlwapp_contact_order").prop("disabled",true);if(w.success){setTimeout(function(){t.removeClass("is-active")},1500)}else{console.log(w.data);alert(w.data)}}});return false});d(document).on("qlwapp-tab-panels",function(w,v){var u=d(w.target),t=u.find("ul.qlwapp-tabs"),s=t.find('a[href="'+v+'"]');t.show();t.find("a").click(function(y){y.preventDefault();var x=d(this).closest("div.panel-wrap");t.find("li",x).removeClass("active");d(this).parent().addClass("active");d("div.panel",x).hide();d(d(this).attr("href")).show()});if(s.length&&d(s.attr("href")).length){s.click()}else{t.find("li.active").find("a").click()}})})(jQuery);
 
1
+
2
+ (function(d){var e=0,k;var r=function(s){return s.is(".processing")||s.parents(".processing").length};var i=function(){d("#qlwapp_modal").addClass("processing")};var g=function(){d("#qlwapp_modal").removeClass("processing")};_.mixin({escapeHtml:function(s){return s.replace("&amp;",/&/g).replace(/&gt;/g,">").replace(/&lt;/g,"<").replace(/&quot;/g,'"').replace(/&#039;/g,"'")},});var f=Backbone.Model.extend({defaults:qlwapp_contact.args});var c=Backbone.View.extend({templates:{},initialize:function(s){this.templates.window=wp.template(s.subview)},render:function(){var s=this;s.$el.html(s.templates.window(s.attributes));return this}});var a=Backbone.View.extend({templates:{},initialize:function(s){this.templates.window=wp.template(s.subview)},render:function(){var s=this;s.$el.html(s.templates.window(s.attributes));return this}});var n=Backbone.View.extend({templates:{},initialize:function(s){this.templates.window=wp.template(s.subview)},render:function(){var s=this;s.$el.html(s.templates.window(s.attributes));return this}});var l=Backbone.View.extend({templates:{},initialize:function(s){this.templates.window=wp.template(s.subview)},render:function(){var s=this;s.$el.html(s.templates.window(s.attributes));return this}});var p=Backbone.View.extend({templates:{},initialize:function(s){this.templates.window=wp.template(s.subview)},render:function(){var s=this;s.$el.html(s.templates.window(s.attributes));return this}});var h=Backbone.View.extend({templates:{},initialize:function(s){this.templates.window=wp.template(s.subview)},render:function(){var s=this;s.$el.html(s.templates.window(s.attributes));return this}});var m=Backbone.View.extend({templates:{},initialize:function(s){this.templates.window=wp.template(s.subview)},render:function(){var s=this;s.$el.html(s.templates.window(s.attributes));return this}});var q=Backbone.View.extend({templates:{},initialize:function(s){this.templates.window=wp.template(s.subview)},render:function(){var s=this;s.$el.html(s.templates.window(s.attributes));return this}});var o=Backbone.View.extend({events:{"change input":"enable","change textarea":"enable","change select":"enable","click .media-modal-backdrop":"close","click .media-modal-close":"close","click .media-modal-prev":"edit","click .media-modal-next":"edit","change .media-modal-change":"change","change .media-modal-subview":"subview","submit .media-modal-form":"submit"},templates:{},initialize:function(){_.bindAll(this,"open","edit","change","subview","load","render","close","submit");this.init();this.open()},init:function(){this.templates.window=wp.template("qlwapp-modal-window")},LoadTemplate1:function(t){var s=Backbone.View.extend({templates:{},initialize:function(u){this.templates.window=wp.template(u.subview)},render:function(){var u=this;u.$el.html(u.templates.window(u.attributes));return this}});return s},assign:function(t,s){t.setElement(this.$(s)).render()},render:function(){var t=this;var s=this.$el.find("ul.wc-tabs li.active a").attr("href");t.$el.html(t.templates.window(t.model.attributes));this.header=new c({subview:"subview-header",attributes:t.model.attributes});this.footer=new a({subview:"subview-footer",attributes:t.model.attributes});this.tabs=new n({subview:"subview-tabs",attributes:t.model.attributes});this.contact=new l({subview:"subview-contact",attributes:t.model.attributes});this.contact_chat=new p({subview:"subview-contact-chat",attributes:t.model.attributes});this.info=new m({subview:"subview-contact-info",attributes:t.model.attributes});this.visibility=new h({subview:"subview-visibility",attributes:t.model.attributes});this.assign(this.header,"#panel-header");this.assign(this.footer,"#panel-footer");this.assign(this.tabs,"#panel-tabs");this.assign(this.contact,"#panel-contact");this.assign(this.contact_chat,"#subpanel-contact-chat");this.assign(this.info,"#panel-info");this.assign(this.visibility,"#panel-visibility");_.delay(function(){t.$el.trigger("qlwapp-enhanced-select");t.$el.trigger("qlwapp-tab-panels",s)},100)},load:function(){var s=this;i();d.ajax({url:ajaxurl,data:{action:"qlwapp_edit_contact",nonce:qlwapp_contact.nonce.qlwapp_edit_contact,contact_id:this.model.attributes.id},dataType:"json",type:"POST",beforeSend:function(){},complete:function(){g()},error:function(){alert("Error!")},success:function(t){if(t.success){s.model.set(t.data);s.render()}else{alert(t.data)}}})},edit:function(w){w.preventDefault();var u=this,v=d(w.target),t=parseInt(d("#qlwapp_contacts_table tr[data-contact_id]").length),s=parseInt(u.model.get("order"));e++;if(k){clearTimeout(k)}k=setTimeout(function(){if(v.hasClass("media-modal-next")){s=Math.min(s+e,t)}else{s=Math.max(s-e,1)}u.model.set({id:parseInt(d("#qlwapp_contacts_table tr[data-contact_position="+s+"]").data("contact_id"))});e=0;u.load()},300)},open:function(s){d("body").addClass("modal-open").append(this.$el);if(this.model.attributes.id==undefined){_.delay(function(){g()},100);return}this.load()},update:function(v){v.preventDefault();var t=d(v.target),s=t.attr("name"),u=t.val();if(v.target.type==="checkbox"){u=t.prop("checked")===true?1:0}this.model.attributes[s]=u;this.model.changed[s]=u},change:function(s){s.preventDefault();this.update(s)},subview:function(s){this.contact_chat.render()},reload:function(s){if(this.$el.find("#qlwapp_modal").hasClass("reload")){location.reload();return}this.remove();return},close:function(s){s.preventDefault();this.undelegateEvents();d(document).off("focusin");this.$el.find("#qlwapp_modal").addClass("reload");this.reload(s);return},enable:function(s){d(".media-modal-submit").removeProp("disabled")},submit:function(v){v.preventDefault();var u=this,t=u.$el.find("#qlwapp_modal"),s=t.find(".attachment-details");d.ajax({url:ajaxurl,data:{action:"qlwapp_save_contact",nonce:qlwapp_contact.nonce.qlwapp_save_contact,contact_id:u.model.attributes.id,contact_data:d("form",this.$el).serialize()},dataType:"json",type:"POST",beforeSend:function(){d(".media-modal-submit").prop("disabled",true);s.addClass("save-waiting")},complete:function(){s.addClass("save-complete");s.removeClass("save-waiting")},error:function(){alert("Error!")},success:function(w){if(w.success){if(u.model.attributes.id==undefined){t.addClass("reload");u.reload(v);u.close(v)}}else{alert(w.data)}}});return false}});var b=Backbone.View.extend({initialize:function(v){var u=d(v.target),t=u.closest("[data-contact_id]").data("contact_id");var s=new f();s.set({id:t});new o({model:s}).render()}});var j=false;d(".qlwapp_settings_edit").on("click",function(s){s.preventDefault();if(!j){new b(s);j=true}});d("#qlwapp_contact_add").on("click",function(s){s.preventDefault();new b(s)});d(".qlwapp_settings_delete").on("click",function(v){v.preventDefault();var s=d("#qlwapp_delete_contact_nonce").val();var u=d(v.target),t=u.closest("[data-contact_id]").data("contact_id");if(!confirm(qlwapp_contact.message.contact_confirm_delete)){return false}else{d.ajax({url:ajaxurl,data:{action:"qlwapp_delete_contact",nonce:s,contact_id:t},dataType:"json",type:"POST",beforeSend:function(){},complete:function(){},error:function(w){console.log(w)},success:function(w){if(w.data){location.reload()}else{alert(w.data)}}})}});d("table#qlwapp_contacts_table tbody").sortable({items:"tr",cursor:"move",axis:"y",handle:"td.sort",scrollSensitivity:40,helper:function(s,t){t.children().each(function(){d(this).width(d(this).width())});t.css("left","0");return t},start:function(s,t){t.item.css("background-color","#f6f6f6")},stop:function(s,t){t.item.removeAttr("style");t.item.trigger("updateMoveButtons");t.item.trigger("updateSaveButton")}});d(document).on("updateSaveButton",function(){d("#qlwapp_contact_order").removeProp("disabled")});d(".wc-item-reorder-nav").find(".wc-move-up, .wc-move-down").on("click",function(){var x=d(this),s=x.closest("tr");x.focus();var w=x.is(".wc-move-up"),v=x.is(".wc-move-down");if(w){var u=s.prev("tr");if(u&&u.length){u.before(s)}}else{if(v){var t=s.next("tr");if(t&&t.length){t.after(s)}}}x.focus();x.closest("table").trigger("updateMoveButtons");x.closest("table").trigger("updateSaveButton")});d(".wc-item-reorder-nav").closest("table").on("updateMoveButtons",function(){var t=d(this),s=d(this).find("tbody tr:last"),u=d(this).find("tbody tr:first");t.find(".wc-item-reorder-nav .wc-move-disabled").removeClass("wc-move-disabled").attr({tabindex:"0","aria-hidden":"false"});u.find(".wc-item-reorder-nav .wc-move-up").addClass("wc-move-disabled").attr({tabindex:"-1","aria-hidden":"true"});s.find(".wc-item-reorder-nav .wc-move-down").addClass("wc-move-disabled").attr({tabindex:"-1","aria-hidden":"true"})});d("table#qlwapp_contacts_table tbody").trigger("updateMoveButtons");d(document).on("submit","#qlwapp_contacts_form",function(v){v.preventDefault();var s=d(this),u=s.find(".settings-save-status .spinner"),t=s.find(".settings-save-status .saved");d.ajax({url:ajaxurl,data:{action:"qlwapp_save_contact_order",nonce:qlwapp_contact.nonce.qlwapp_save_contact_order,contact_data:s.serialize()},dataType:"json",type:"POST",beforeSend:function(){u.addClass("is-active")},complete:function(){u.removeClass("is-active")},error:function(w){console.log(w)},success:function(w){t.addClass("is-active");d("#qlwapp_contact_order").prop("disabled",true);if(w.success){setTimeout(function(){t.removeClass("is-active")},1500)}else{alert(w.data)}}});return false});d(document).on("qlwapp-tab-panels",function(w,v){var u=d(w.target),t=u.find("ul.qlwapp-tabs"),s=t.find('a[href="'+v+'"]');t.show();t.find("a").click(function(y){y.preventDefault();var x=d(this).closest("div.panel-wrap");t.find("li",x).removeClass("active");d(this).parent().addClass("active");d("div.panel",x).hide();d(d(this).attr("href")).show()});if(s.length&&d(s.attr("href")).length){s.click()}else{t.find("li.active").find("a").click()}})})(jQuery);
assets/frontend/css/qlwapp.css.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../../less/qlwapp.less","../../less/colors.less","../../less/animations.less","../../less/rtl.less"],"names":[],"mappings":"AAKA;EACE,aAAa,iBAAb;EACA,qkEAAqkE,OAAO,OAA5kE;EACA,mBAAA;EACA,kBAAA;;AAGF;EACE,aAAa,iBAAb;EACA,WAAA;EACA,kBAAA;EACA,mBAAA;EACA,oBAAA;EACA,oBAAA;EACA,cAAA;EACA,mCAAA;EACA,kCAAA;;AAGF,qBAAqB;EACnB,SAAS,OAAT;;AAGF;EACE,oBAAA;EACA,sBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,QAA0B;EAA1B;IACE,YAAA;;;AALJ,OASE;EACE,sBAAA;;AAKF,OAAC;EACC,cAAA;;AAGF,OAAC;AACD,OAAC,eAAe;AAChB,OAAC,cAAc;EACb,aAAA;;AAtBJ,OA2BE;AACA,OAAC;EACC,8BAAA;EACA,YAAA;;AA9BJ,OAiCE;AACA,OAAC;EACC,aAAA;EACA,kBAAA;;AAKF,OAAC;AACD,OAAC;AACD,OAAC;AACD,OAAC;EACC,eAAA;EACA,gBAAA;;AAMF,OAAC;AACD,OAAC;EACC,WAAA;EACA,OAAA;;AAHF,OAAC,mBAKC,eACE;AALJ,OAAC,mBAIC,eACE;EACE,OAAA;EACA,WAAA;;AAIJ,OAZD,mBAYE,cAEC;AAFF,OAXD,mBAWE,cAEC;AADF,OAbD,mBAaE,cACC;AADF,OAZD,mBAYE,cACC;AAFF,OAZD,mBAYE,cAGC;AAHF,OAXD,mBAWE,cAGC;AAFF,OAbD,mBAaE,cAEC;AAFF,OAZD,mBAYE,cAEC;EACE,iBAAA;;AAIJ,OApBD,mBAoBE,cACC,eACE;AAFJ,OAnBD,mBAmBE,cACC,eACE;EACE,WAAA;EACA,UAAA;;AAMJ,OA9BH,mBA6BC,YACG;AAAD,OA7BH,mBA4BC,YACG;EACC,WAAA;EACA,UAAA;;AASN,OAAC;AACD,OAAC;EACC,UAAA;EACA,QAAA;;AAH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A8DC,eAOE;EACE,UAAA;;AAtEN,OA1KF,YA0KG,SA8DC,eAWE;EACE,YAAA;;AA1EN,OA1KF,YA0KG,SA8DC,eAeE;AA7EJ,OA1KF,YA0KG,SA8DC,eAgBE;EACE,WAAW,aAAX;;AA/EN,OA1KF,YA0KG,SA8DC,eAoBE;EACE,WAAW,QAAX;;AAKJ,OAlQJ,YA0KG,SAwFE,QAEC;AAFF,OAlQJ,YA0KG,SAwFE,QAGC;AAHF,OAlQJ,YA0KG,SAwFE,QAIC;AAJF,OAlQJ,YA0KG,SAwFE,QAKC;AALF,OAlQJ,YA0KG,SAwFE,QAMC;AANF,OAlQJ,YA0KG,SAwFE,QAOC,eAAe;AAPjB,OAlQJ,YA0KG,SAwFE,QAQC,eAAe;EACb,mBAAA;;AAMN,OAjRF,YAiRG,QAEC;EACE,gBAAA;;AAHJ,OAjRF,YAiRG,QAMC;EACE,UAAA;EACA,WAAW,YAAX;;AAKJ,OA9RF,YA8RG,QAUC;EACE,qBAAA;EACA,WAAW,iBAAX;EACA,UAAA;EACA,sBAAsB,iEAAtB;;AAdJ,OA9RF,YA8RG,QAiBC;EACE,UAAA;;ACrWF,IAHH,IACC,QAEG,cAAe,eAAe;EAC7B,kBAAA;;AAJN,IAAC,IACC,QAME,YAAY,iBAAiB;EAC3B,WAAA;EACA,UAAA;EACA,2BAAA;;AAVN,IAAC,IACC,QAME,YAAY,iBAAiB,gBAK3B;EACE,WAAW,cAAX;;AAbR,IAAC,IACC,QAgBE,YAAY,iBAAiB;AAjBjC,IAAC,IACC,QAiBE,YAAY,iBAAiB;EAC3B,4BAAA;;AAnBN,IAAC,IACC,QAqBE,YAAW,SAAU,iBAAiB;EACpC,WAAW,gBAAX;;AAvBN,IAAC,IACC,QAyBE,YAAY;EACV,2BAAA","file":"qlwapp.css"}
1
+ {"version":3,"sources":["../../less/qlwapp.less","../../less/colors.less","../../less/animations.less","../../less/rtl.less"],"names":[],"mappings":"AAKA;EACE,aAAa,iBAAb;EACA,q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C,eAWE;EACE,YAAA;;AA1EN,OA1KF,YA0KG,SA8DC,eAeE;AA7EJ,OA1KF,YA0KG,SA8DC,eAgBE;EACE,WAAW,aAAX;;AA/EN,OA1KF,YA0KG,SA8DC,eAoBE;EACE,WAAW,QAAX;;AAKJ,OAlQJ,YA0KG,SAwFE,QAEC;AAFF,OAlQJ,YA0KG,SAwFE,QAGC;AAHF,OAlQJ,YA0KG,SAwFE,QAIC;AAJF,OAlQJ,YA0KG,SAwFE,QAKC;AALF,OAlQJ,YA0KG,SAwFE,QAMC;AANF,OAlQJ,YA0KG,SAwFE,QAOC,eAAe;AAPjB,OAlQJ,YA0KG,SAwFE,QAQC,eAAe;EACb,mBAAA;;AAMN,OAjRF,YAiRG,QAEC;EACE,gBAAA;;AAHJ,OAjRF,YAiRG,QAMC;EACE,UAAA;EACA,WAAW,YAAX;;AAKJ,OA9RF,YA8RG,QAUC;EACE,qBAAA;EACA,WAAW,iBAAX;EACA,UAAA;EACA,sBAAsB,iEAAtB;;AAdJ,OA9RF,YA8RG,QAiBC;EACE,UAAA;;ACrWF,IAHH,IACC,QAEG,cAAe,eAAe;EAC7B,kBAAA;;AAJN,IAAC,IACC,QAME,YAAY,iBAAiB;EAC3B,WAAA;EACA,UAAA;EACA,2BAAA;;AAVN,IAAC,IACC,QAME,YAAY,iBAAiB,gBAK3B;EACE,WAAW,cAAX;;AAbR,IAAC,IACC,QAgBE,YAAY,iBAAiB;AAjBjC,IAAC,IACC,QAiBE,YAAY,iBAAiB;EAC3B,4BAAA;;AAnBN,IAAC,IACC,QAqBE,YAAW,SAAU,iBAAiB;EACpC,WAAW,gBAAX;;AAvBN,IAAC,IACC,QAyBE,YAAY;EACV,2BAAA","file":"qlwapp.css"}
assets/frontend/js/qlwapp.js CHANGED
@@ -31,15 +31,11 @@
31
 
32
  $qlwapp.on('qlwapp.time', function (e) {
33
 
34
- //console.log('qlwapp.time');
35
-
36
  var $contact = $(e.target),
37
  timefrom = $contact.data('timefrom') || false,
38
  timeto = $contact.data('timeto') || false,
39
  // timeout = $contact.data('timeout'),
40
  timezone = parseInt($contact.data('timezone')) || 0;
41
-
42
- console.log($contact.data('timezone'));
43
 
44
  // Don't scape timezone as could be 0
45
  if (!timeto || !timefrom || (timefrom === timeto)) {
@@ -198,8 +194,6 @@
198
  // Click
199
  // -----------------------------------------------------------------------
200
 
201
- //console.log('toggle');
202
-
203
  $qlwapp.on('click', '[data-action=box], [data-action=close]', function (e) {
204
  e.preventDefault();
205
 
@@ -357,7 +351,6 @@
357
  }
358
  // Allow instances to be destroyed via the 'destroy' method
359
  if (options === 'destroy') {
360
- //console.log('destroy');
361
  $.data(this, 'plugin_qlwapp', null);
362
  }
363
  });
31
 
32
  $qlwapp.on('qlwapp.time', function (e) {
33
 
 
 
34
  var $contact = $(e.target),
35
  timefrom = $contact.data('timefrom') || false,
36
  timeto = $contact.data('timeto') || false,
37
  // timeout = $contact.data('timeout'),
38
  timezone = parseInt($contact.data('timezone')) || 0;
 
 
39
 
40
  // Don't scape timezone as could be 0
41
  if (!timeto || !timefrom || (timefrom === timeto)) {
194
  // Click
195
  // -----------------------------------------------------------------------
196
 
 
 
197
  $qlwapp.on('click', '[data-action=box], [data-action=close]', function (e) {
198
  e.preventDefault();
199
 
351
  }
352
  // Allow instances to be destroyed via the 'destroy' method
353
  if (options === 'destroy') {
 
354
  $.data(this, 'plugin_qlwapp', null);
355
  }
356
  });
assets/frontend/js/qlwapp.min.js CHANGED
@@ -1,2 +1 @@
1
-
2
- (function(d,c,a,g){var e={};function b(i,h){this.$qlwapp=d(i);this.init(this)}b.prototype={timeDateToString:function(i){var h=""+i.getMinutes();if(h.length===1){h="0"+h}return i.getHours()+":"+h},timeStringToInt:function(i,h){return parseInt(i+h)},init:function(i){var h=this.$qlwapp;h.on("qlwapp.init",function(j){i.mobiledevice=(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))});h.on("qlwapp.time",function(p){var j=d(p.target),r=j.data("timefrom")||false,s=j.data("timeto")||false,o=parseInt(j.data("timezone"))||0;console.log(j.data("timezone"));if(!s||!r||(r===s)){return true}var v=new Date(),l=v.getTimezoneOffset(),q=-l-o;var u=new Date(),k=new Date();var t,m;t=i.timeStringToInt(r[0],r[1]);m=i.timeStringToInt(r[3],r[4]);k.setHours(t);k.setMinutes(m+q);t=i.timeStringToInt(s[0],s[1]);m=i.timeStringToInt(s[3],s[4]);u.setHours(t);u.setMinutes(m+q);if(!(v.getTime()>=k.getTime()&&v.getTime()<=u.getTime())){j.addClass("qlwapp-readonly")}if(!o){return true}j.find(".from").text(i.timeDateToString(k));j.find(".to").text(i.timeDateToString(u))});h.on("qlwapp.pro",function(j){h.find(".qlwapp-toggle").trigger("qlwapp.time");h.find(".qlwapp-account").each(function(l,k){d(k).trigger("qlwapp.time")})});h.on("qlwapp.resize",function(j){if(d(this).hasClass("qlwapp-show")){d(this).trigger("qlwapp.toggle")}});h.on("qlwapp.init",function(j){if(!i.mobiledevice){h.addClass("desktop").removeClass("mobile")}else{h.addClass("mobile").removeClass("desktop")}h.addClass("qlwapp-js-ready")});h.on("qlwapp.init",function(j){if(h.hasClass("qlwapp-premium")){h.trigger("qlwapp.pro")}});h.addClass("qlwapp-js-ready").trigger("qlwapp.init");h.on("qlwapp.height",function(o){var p=d(o.delegateTarget),n=p.find(".qlwapp-body"),m=n.find(".qlwapp-carousel");var l=p.find(".qlwapp-header"),k=p.find(".qlwapp-footer"),j=(d(c).innerHeight()-l.outerHeight()-k.outerHeight());if(!i.mobiledevice){j=(d(c).innerHeight()*0.7-l.outerHeight()-k.outerHeight())}m.css({"max-height":j+"px"})});h.on("qlwapp.toggle",function(k){var l=d(k.delegateTarget),j=l.find(".qlwapp-box");l.addClass("qlwapp-transition");j.removeClass("response texting");setTimeout(function(){l.toggleClass("qlwapp-show").trigger("qlwapp.height")},10);setTimeout(function(){l.toggleClass("qlwapp-transition")},300)});h.on("click","[data-action=box], [data-action=close]",function(j){j.preventDefault();d(j.delegateTarget).trigger("qlwapp.toggle")});h.on("click","[data-action=open]",function(n){var k="https://api.whatsapp.com/send";if(!i.mobiledevice){k="https://web.whatsapp.com/send"}var m=d(this),l=m.data("message")||"",j=m.data("phone")||"";d(this).attr("href",k+"?phone="+j+"&text="+l)});h.on("click","[data-action=previous]",function(k){k.preventDefault();var l=d(k.delegateTarget),j=l.find(".qlwapp-box");j.addClass("closing");setTimeout(function(){j.removeClass("response").removeClass("closing");j.removeClass("texting")},300)});h.on("click","[data-action=chat]",function(w){w.preventDefault();var n=d(this),t=d(w.delegateTarget),u=t.find(".qlwapp-box"),v=n.find(".qlwapp-avatar img").attr("src"),A=n.find(".qlwapp-name").text(),q=n.find(".qlwapp-label").text(),p=n.find(".qlwapp-time").text(),r=n.data("message"),o=n.data("phone");u.addClass("response").addClass("opening");t.trigger("qlwapp.height");setTimeout(function(){u.removeClass("opening")},300);var k=u.find(".qlwapp-reply"),x=u.find(".qlwapp-header"),j=x.find(".qlwapp-avatar img"),m=x.find(".qlwapp-number"),l=x.find(".qlwapp-name"),z=x.find(".qlwapp-label"),y=u.find(".qlwapp-message");var s=p?p+" - "+q:q;k.data("phone",o);j.attr("src",v);m.html(o);l.html(A);z.html(s);y.html(r)});h.on("click","textarea",function(j){h.off("qlwapp.resize")});h.on("keypress","textarea",function(j){if(j.keyCode==13){h.find(".qlwapp-reply").trigger("click");setTimeout(function(){c.location=h.find(".qlwapp-reply").attr("href")},100)}});h.on("keyup","[data-action=response]",function(m){m.preventDefault();var p=d(this).find("textarea"),o=d(this).find("pre"),j=d(this).find(".qlwapp-reply"),n=d(m.delegateTarget),l=n.find(".qlwapp-box"),k=l.find(".qlwapp-buttons");o.html(p.val());setTimeout(function(){l.addClass("texting").css({"padding-bottom":o.outerHeight()});k.addClass("active");var q=p.val();j.data("message",q);if(q==""){l.removeClass("texting");k.removeClass("active")}},300)})}};d.fn.qlwapp=function(i){var h=arguments;if(i===g||typeof i==="object"){return this.each(function(){if(!d.data(this,"plugin_qlwapp")){d.data(this,"plugin_qlwapp",new b(this,i))}})}else{if(typeof i==="string"&&i[0]!=="_"&&i!=="init"){var j;this.each(function(){var k=d.data(this,"plugin_qlwapp");if(k instanceof b&&typeof k[i]==="function"){j=k[i].apply(k,Array.prototype.slice.call(h,1))}if(i==="destroy"){d.data(this,"plugin_qlwapp",null)}});return j!==g?j:this}}};function f(){d("div#qlwapp").qlwapp()}f();d(c).on("load",function(){f()});d(c).on("click",function(h){if(!d(h.target).closest("#qlwapp.qlwapp-show").length){d("div#qlwapp.qlwapp-show").trigger("qlwapp.toggle")}});d(c).on("resize",function(h){d("div#qlwapp").trigger("qlwapp.resize");d("div#qlwapp").trigger("qlwapp.init")})})(jQuery,window,document);
1
+ (function(d,c,a,g){var e={};function b(i,h){this.$qlwapp=d(i);this.init(this)}b.prototype={timeDateToString:function(i){var h=""+i.getMinutes();if(h.length===1){h="0"+h}return i.getHours()+":"+h},timeStringToInt:function(i,h){return parseInt(i+h)},init:function(i){var h=this.$qlwapp;h.on("qlwapp.init",function(j){i.mobiledevice=(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))});h.on("qlwapp.time",function(p){var j=d(p.target),r=j.data("timefrom")||false,s=j.data("timeto")||false,o=parseInt(j.data("timezone"))||0;if(!s||!r||(r===s)){return true}var v=new Date(),l=v.getTimezoneOffset(),q=-l-o;var u=new Date(),k=new Date();var t,m;t=i.timeStringToInt(r[0],r[1]);m=i.timeStringToInt(r[3],r[4]);k.setHours(t);k.setMinutes(m+q);t=i.timeStringToInt(s[0],s[1]);m=i.timeStringToInt(s[3],s[4]);u.setHours(t);u.setMinutes(m+q);if(!(v.getTime()>=k.getTime()&&v.getTime()<=u.getTime())){j.addClass("qlwapp-readonly")}if(!o){return true}j.find(".from").text(i.timeDateToString(k));j.find(".to").text(i.timeDateToString(u))});h.on("qlwapp.pro",function(j){h.find(".qlwapp-toggle").trigger("qlwapp.time");h.find(".qlwapp-account").each(function(l,k){d(k).trigger("qlwapp.time")})});h.on("qlwapp.resize",function(j){if(d(this).hasClass("qlwapp-show")){d(this).trigger("qlwapp.toggle")}});h.on("qlwapp.init",function(j){if(!i.mobiledevice){h.addClass("desktop").removeClass("mobile")}else{h.addClass("mobile").removeClass("desktop")}h.addClass("qlwapp-js-ready")});h.on("qlwapp.init",function(j){if(h.hasClass("qlwapp-premium")){h.trigger("qlwapp.pro")}});h.addClass("qlwapp-js-ready").trigger("qlwapp.init");h.on("qlwapp.height",function(o){var p=d(o.delegateTarget),n=p.find(".qlwapp-body"),m=n.find(".qlwapp-carousel");var l=p.find(".qlwapp-header"),k=p.find(".qlwapp-footer"),j=(d(c).innerHeight()-l.outerHeight()-k.outerHeight());if(!i.mobiledevice){j=(d(c).innerHeight()*0.7-l.outerHeight()-k.outerHeight())}m.css({"max-height":j+"px"})});h.on("qlwapp.toggle",function(k){var l=d(k.delegateTarget),j=l.find(".qlwapp-box");l.addClass("qlwapp-transition");j.removeClass("response texting");setTimeout(function(){l.toggleClass("qlwapp-show").trigger("qlwapp.height")},10);setTimeout(function(){l.toggleClass("qlwapp-transition")},300)});h.on("click","[data-action=box], [data-action=close]",function(j){j.preventDefault();d(j.delegateTarget).trigger("qlwapp.toggle")});h.on("click","[data-action=open]",function(n){var k="https://api.whatsapp.com/send";if(!i.mobiledevice){k="https://web.whatsapp.com/send"}var m=d(this),l=m.data("message")||"",j=m.data("phone")||"";d(this).attr("href",k+"?phone="+j+"&text="+l)});h.on("click","[data-action=previous]",function(k){k.preventDefault();var l=d(k.delegateTarget),j=l.find(".qlwapp-box");j.addClass("closing");setTimeout(function(){j.removeClass("response").removeClass("closing");j.removeClass("texting")},300)});h.on("click","[data-action=chat]",function(w){w.preventDefault();var n=d(this),t=d(w.delegateTarget),u=t.find(".qlwapp-box"),v=n.find(".qlwapp-avatar img").attr("src"),A=n.find(".qlwapp-name").text(),q=n.find(".qlwapp-label").text(),p=n.find(".qlwapp-time").text(),r=n.data("message"),o=n.data("phone");u.addClass("response").addClass("opening");t.trigger("qlwapp.height");setTimeout(function(){u.removeClass("opening")},300);var k=u.find(".qlwapp-reply"),x=u.find(".qlwapp-header"),j=x.find(".qlwapp-avatar img"),m=x.find(".qlwapp-number"),l=x.find(".qlwapp-name"),z=x.find(".qlwapp-label"),y=u.find(".qlwapp-message");var s=p?p+" - "+q:q;k.data("phone",o);j.attr("src",v);m.html(o);l.html(A);z.html(s);y.html(r)});h.on("click","textarea",function(j){h.off("qlwapp.resize")});h.on("keypress","textarea",function(j){if(j.keyCode==13){h.find(".qlwapp-reply").trigger("click");setTimeout(function(){c.location=h.find(".qlwapp-reply").attr("href")},100)}});h.on("keyup","[data-action=response]",function(m){m.preventDefault();var p=d(this).find("textarea"),o=d(this).find("pre"),j=d(this).find(".qlwapp-reply"),n=d(m.delegateTarget),l=n.find(".qlwapp-box"),k=l.find(".qlwapp-buttons");o.html(p.val());setTimeout(function(){l.addClass("texting").css({"padding-bottom":o.outerHeight()});k.addClass("active");var q=p.val();j.data("message",q);if(q==""){l.removeClass("texting");k.removeClass("active")}},300)})}};d.fn.qlwapp=function(i){var h=arguments;if(i===g||typeof i==="object"){return this.each(function(){if(!d.data(this,"plugin_qlwapp")){d.data(this,"plugin_qlwapp",new b(this,i))}})}else{if(typeof i==="string"&&i[0]!=="_"&&i!=="init"){var j;this.each(function(){var k=d.data(this,"plugin_qlwapp");if(k instanceof b&&typeof k[i]==="function"){j=k[i].apply(k,Array.prototype.slice.call(h,1))}if(i==="destroy"){d.data(this,"plugin_qlwapp",null)}});return j!==g?j:this}}};function f(){d("div#qlwapp").qlwapp()}f();d(c).on("load",function(){f()});d(c).on("click",function(h){if(!d(h.target).closest("#qlwapp.qlwapp-show").length){d("div#qlwapp.qlwapp-show").trigger("qlwapp.toggle")}});d(c).on("resize",function(h){d("div#qlwapp").trigger("qlwapp.resize");d("div#qlwapp").trigger("qlwapp.init")})})(jQuery,window,document);
 
changelog.txt CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  = 4.5.5 =
2
  * New. RTL support
3
  * New. contact display settings
1
+ = 4.5.6 =
2
+ * Fix. small css issues
3
+ * Fix. small js issues
4
+
5
  = 4.5.5 =
6
  * New. RTL support
7
  * New. contact display settings
includes/qlwapp.php CHANGED
@@ -13,7 +13,7 @@ class QLWAPP {
13
 
14
  public static function is_min() {
15
  if (!defined('SCRIPT_DEBUG') || !SCRIPT_DEBUG) {
16
- return '.min';
17
  }
18
  }
19
 
13
 
14
  public static function is_min() {
15
  if (!defined('SCRIPT_DEBUG') || !SCRIPT_DEBUG) {
16
+ //return '.min';
17
  }
18
  }
19
 
includes/view/backend/pages/modals/contact/panel-visibility.php CHANGED
@@ -14,16 +14,16 @@
14
  <p class="form-field">
15
  <label><?php esc_html_e('Target', 'wp-whatsapp-chat'); ?></label>
16
  <select name="display[target][include]" class="qlwapp-select2">
17
- <option <# if ( data.display.target.include == 1 ) { #>selected="selected"<# } #> value="1"><?php esc_html_e('Include'); ?></option>
18
- <option <# if ( data.display.target.include == 0 ) { #>selected="selected"<# } #> value="0"><?php esc_html_e('Exclude'); ?></option>
19
  </select>
20
 
21
  <select multiple="multiple" name="display[target][ids][]" data-placeholder="<?php echo esc_attr('Choose target&hellip;', 'wp-whatsapp-chat'); ?>" aria-label="<?php echo esc_attr('Posts', 'wp-whatsapp-chat'); ?>" class="qlwapp-select2">
22
- <option <# if ( _.contains(data.display.target.ids,'all') ) { #>selected="selected"<# } #> value="<?php echo esc_attr('all'); ?>"><?php echo esc_html('all'); ?></option>
23
- <option <# if ( _.contains(data.display.target.ids,'home') ) { #>selected="selected"<# } #> value="<?php echo esc_attr('home'); ?>"><?php echo esc_html('home'); ?></option>
24
- <option <# if (_.contains(data.display.target.ids, 'blog') ) { #>selected="selected"<# } #> value="<?php echo esc_attr('blog'); ?>"><?php echo esc_html('blog'); ?></option>
25
- <option <# if ( _.contains(data.display.target.ids,'search')) { #>selected="selected"<# } #> value="<?php echo esc_attr('search'); ?>"><?php echo esc_html('search'); ?></option>
26
- <option <# if ( _.contains(data.display.target.ids,'error') ) { #>selected="selected"<# } #> value="<?php echo esc_attr('error'); ?>"><?php echo esc_html('error'); ?></option>
27
  </select>
28
  <span class="description hidden"><?php esc_html_e('If you select an option all the other will be excluded', 'wp-whatsapp-chat'); ?></span>
29
  </p>
@@ -33,11 +33,11 @@
33
  <p class="form-field">
34
  <label><?php esc_html_e(ucwords($entry->label)); ?></label>
35
  <select name="display[entries][<?php echo esc_attr($key); ?>][include]" class="qlwapp-select2">
36
- <option <# if ( data.display.entries.<?php echo esc_attr($key); ?>.include == 1 ) { #>selected="selected"<# } #> value="1"><?php esc_html_e('Include'); ?></option>
37
- <option <# if ( data.display.entries.<?php echo esc_attr($key); ?>.include == 0 ) { #>selected="selected"<# } #> value="0"><?php esc_html_e('Exclude'); ?></option>
38
  </select>
39
  <select multiple="multiple" id="qlwapp_select2_<?php echo esc_attr($key); ?>" data-placeholder="<?php echo esc_attr('Search by title&hellip;', 'wp-whatsapp-chat'); ?>" name="display[entries][<?php echo esc_attr($key); ?>][ids][]" data-name="<?php echo esc_attr($key); ?>" class="qlwapp-select2-search">
40
- <# _.each(data.display.entries.<?php echo esc_attr($key); ?>.ids, function(title, id){ #>
41
  <option selected="selected" value="{{id}}">{{title}} </option>
42
  <# }); #>
43
  </select>
@@ -50,8 +50,8 @@
50
  <p class="form-field">
51
  <label><?php esc_html_e(ucwords($taxonomy->label)); ?></label>
52
  <select name="display[taxonomies][<?php echo esc_attr($key); ?>][include]" class="qlwapp-select2">
53
- <option <# if ( data.display.taxonomies.<?php echo esc_attr($key); ?>.include == 1 ) { #>selected="selected"<# } #> value="1"><?php esc_html_e('Include', 'wp-whatsapp-chat'); ?></option>
54
- <option <# if ( data.display.taxonomies.<?php echo esc_attr($key); ?>.include == 0 ) { #>selected="selected"<# } #> value="0"><?php esc_html_e('Exclude', 'wp-whatsapp-chat'); ?></option>
55
  </select>
56
  <select multiple="multiple" id="qlwapp_select2_<?php echo esc_attr($key); ?>" data-placeholder="<?php echo esc_attr('Choose target&hellip;', 'wp-whatsapp-chat'); ?>" name="display[taxonomies][<?php echo esc_attr($key); ?>][ids][]" data-name="<?php echo esc_attr($key); ?>" class="qlwapp-select2">
57
  <?php
@@ -61,7 +61,7 @@
61
  ));
62
  foreach ($terms as $term) :
63
  ?>
64
- <option value="<?php echo esc_attr($term->term_id); ?>" <# if ( data.display.taxonomies.<?php echo esc_attr($key); ?>.ids[<?php echo esc_attr($term->term_id); ?>]!= undefined ) { #>selected="selected"<# } #>><?php echo esc_html($term->name); ?></option>
65
  <?php endforeach; ?>
66
  </select>
67
  </p>
14
  <p class="form-field">
15
  <label><?php esc_html_e('Target', 'wp-whatsapp-chat'); ?></label>
16
  <select name="display[target][include]" class="qlwapp-select2">
17
+ <option <# if ( data.display.target['include'] == 1 ) { #>selected="selected"<# } #> value="1"><?php esc_html_e('Include'); ?></option>
18
+ <option <# if ( data.display.target['include'] == 0 ) { #>selected="selected"<# } #> value="0"><?php esc_html_e('Exclude'); ?></option>
19
  </select>
20
 
21
  <select multiple="multiple" name="display[target][ids][]" data-placeholder="<?php echo esc_attr('Choose target&hellip;', 'wp-whatsapp-chat'); ?>" aria-label="<?php echo esc_attr('Posts', 'wp-whatsapp-chat'); ?>" class="qlwapp-select2">
22
+ <option <# if ( _.contains(data.display.target['ids'],'all') ) { #>selected="selected"<# } #> value="<?php echo esc_attr('all'); ?>"><?php echo esc_html('all'); ?></option>
23
+ <option <# if ( _.contains(data.display.target['ids'],'home') ) { #>selected="selected"<# } #> value="<?php echo esc_attr('home'); ?>"><?php echo esc_html('home'); ?></option>
24
+ <option <# if (_.contains(data.display.target['ids'], 'blog') ) { #>selected="selected"<# } #> value="<?php echo esc_attr('blog'); ?>"><?php echo esc_html('blog'); ?></option>
25
+ <option <# if ( _.contains(data.display.target['ids'],'search')) { #>selected="selected"<# } #> value="<?php echo esc_attr('search'); ?>"><?php echo esc_html('search'); ?></option>
26
+ <option <# if ( _.contains(data.display.target['ids'],'error') ) { #>selected="selected"<# } #> value="<?php echo esc_attr('error'); ?>"><?php echo esc_html('error'); ?></option>
27
  </select>
28
  <span class="description hidden"><?php esc_html_e('If you select an option all the other will be excluded', 'wp-whatsapp-chat'); ?></span>
29
  </p>
33
  <p class="form-field">
34
  <label><?php esc_html_e(ucwords($entry->label)); ?></label>
35
  <select name="display[entries][<?php echo esc_attr($key); ?>][include]" class="qlwapp-select2">
36
+ <option <# if ( data.display.entries['<?php echo esc_attr($key); ?>']['include'] == 1 ) { #>selected="selected"<# } #> value="1"><?php esc_html_e('Include'); ?></option>
37
+ <option <# if ( data.display.entries['<?php echo esc_attr($key); ?>']['include'] == 0 ) { #>selected="selected"<# } #> value="0"><?php esc_html_e('Exclude'); ?></option>
38
  </select>
39
  <select multiple="multiple" id="qlwapp_select2_<?php echo esc_attr($key); ?>" data-placeholder="<?php echo esc_attr('Search by title&hellip;', 'wp-whatsapp-chat'); ?>" name="display[entries][<?php echo esc_attr($key); ?>][ids][]" data-name="<?php echo esc_attr($key); ?>" class="qlwapp-select2-search">
40
+ <# _.each(data.display.entries['<?php echo esc_attr($key); ?>']['ids'], function(title, id){ #>
41
  <option selected="selected" value="{{id}}">{{title}} </option>
42
  <# }); #>
43
  </select>
50
  <p class="form-field">
51
  <label><?php esc_html_e(ucwords($taxonomy->label)); ?></label>
52
  <select name="display[taxonomies][<?php echo esc_attr($key); ?>][include]" class="qlwapp-select2">
53
+ <option <# if ( data.display.taxonomies['<?php echo esc_attr($key); ?>']['include'] == 1 ) { #>selected="selected"<# } #> value="1"><?php esc_html_e('Include', 'wp-whatsapp-chat'); ?></option>
54
+ <option <# if ( data.display.taxonomies['<?php echo esc_attr($key); ?>']['include'] == 0 ) { #>selected="selected"<# } #> value="0"><?php esc_html_e('Exclude', 'wp-whatsapp-chat'); ?></option>
55
  </select>
56
  <select multiple="multiple" id="qlwapp_select2_<?php echo esc_attr($key); ?>" data-placeholder="<?php echo esc_attr('Choose target&hellip;', 'wp-whatsapp-chat'); ?>" name="display[taxonomies][<?php echo esc_attr($key); ?>][ids][]" data-name="<?php echo esc_attr($key); ?>" class="qlwapp-select2">
57
  <?php
61
  ));
62
  foreach ($terms as $term) :
63
  ?>
64
+ <option value="<?php echo esc_attr($term->term_id); ?>" <# if ( data.display.taxonomies['<?php echo esc_attr($key); ?>']['ids'][<?php echo esc_attr($term->term_id); ?>]!= undefined ) { #>selected="selected"<# } #>><?php echo esc_html($term->name); ?></option>
65
  <?php endforeach; ?>
66
  </select>
67
  </p>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://quadlayers.com/portfolio/wordpress-whatsapp-chat/
4
  Tags: whatsapp, whatsapp button, whatsapp chat, whatsapp support, contact, click to chat, directly message whatsapp, floating whatsapp, whatsapp business, messaging, help desk
5
  Requires at least: 4.6
6
  Tested up to: 5.3.0
7
- Stable tag: 4.5.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
4
  Tags: whatsapp, whatsapp button, whatsapp chat, whatsapp support, contact, click to chat, directly message whatsapp, floating whatsapp, whatsapp business, messaging, help desk
5
  Requires at least: 4.6
6
  Tested up to: 5.3.0
7
+ Stable tag: 4.5.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
wp-whatsapp-chat.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: WhatsApp Chat
5
  * Plugin URI: https://quadlayers.com/portfolio/wordpress-whatsapp-chat/
6
  * Description: WhatsApp Chat allows your visitors to contact you or your team through WhatsApp chat with a single click.
7
- * Version: 4.5.5
8
  * Author: QuadLayers
9
  * Author URI: https://quadlayers.com
10
  * License: GPL-2.0+
@@ -19,7 +19,7 @@ if (!defined('QLWAPP_PLUGIN_NAME')) {
19
  define('QLWAPP_PLUGIN_NAME', 'WhatsApp Chat');
20
  }
21
  if (!defined('QLWAPP_PLUGIN_VERSION')) {
22
- define('QLWAPP_PLUGIN_VERSION', '4.5.5');
23
  }
24
  if (!defined('QLWAPP_PLUGIN_FILE')) {
25
  define('QLWAPP_PLUGIN_FILE', __FILE__);
4
  * Plugin Name: WhatsApp Chat
5
  * Plugin URI: https://quadlayers.com/portfolio/wordpress-whatsapp-chat/
6
  * Description: WhatsApp Chat allows your visitors to contact you or your team through WhatsApp chat with a single click.
7
+ * Version: 4.5.6
8
  * Author: QuadLayers
9
  * Author URI: https://quadlayers.com
10
  * License: GPL-2.0+
19
  define('QLWAPP_PLUGIN_NAME', 'WhatsApp Chat');
20
  }
21
  if (!defined('QLWAPP_PLUGIN_VERSION')) {
22
+ define('QLWAPP_PLUGIN_VERSION', '4.5.6');
23
  }
24
  if (!defined('QLWAPP_PLUGIN_FILE')) {
25
  define('QLWAPP_PLUGIN_FILE', __FILE__);