LiveChat – WP live chat plugin for WordPress - Version 3.2.8

Version Description

  • Plugin fully supports the newest version of Wordpress.
Download this release

Release Info

Developer livechat
Plugin Icon 128x128 LiveChat – WP live chat plugin for WordPress
Version 3.2.8
Comparing to
See all releases

Code changes from version 3.2.7 to 3.2.8

Files changed (2) hide show
  1. plugin_files/js/livechat.js +21 -13
  2. readme.txt +5 -2
plugin_files/js/livechat.js CHANGED
@@ -72,22 +72,30 @@ var LiveChat =
72
  }
73
 
74
  $('#livechat_already_have .ajax_message').removeClass('message').addClass('wait').html('Please wait…');
75
-
76
- $.getJSON('https://api.livechatinc.com/licence/operator/'+login+'?callback=?', function(response)
77
- {
78
- if (response.error)
79
- {
80
- $('#livechat_already_have .ajax_message').removeClass('wait').addClass('message').html('Incorrect LiveChat login.');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  $('#livechat_login').focus();
82
- return false;
83
- }
84
- else
85
- {
86
- $('#license_number').val(response.number);
87
- $('#livechat_already_have form').submit();
88
  }
89
  });
90
-
91
  return false;
92
  }
93
  });
72
  }
73
 
74
  $('#livechat_already_have .ajax_message').removeClass('message').addClass('wait').html('Please wait…');
75
+
76
+ $.ajax({
77
+ url: 'https://api.livechatinc.com/licence/operator/'+login+'?callback=?',
78
+ type: "GET",
79
+ dataType: 'jsonp',
80
+ cache: false,
81
+ success: function (data, status, error) {
82
+ if (data.error)
83
+ {
84
+ $('#livechat_already_have .ajax_message').removeClass('wait').addClass('message').html('Incorrect LiveChat login.');
85
+ $('#livechat_login').focus();
86
+ return false;
87
+ }
88
+ else
89
+ {
90
+ $('#license_number').val(data.number);
91
+ $('#livechat_already_have form').submit();
92
+ }
93
+ },
94
+ error: function (data, status, error) {
95
+ $('#livechat_already_have .ajax_message').removeClass('wait').addClass('message').html('Try again.');
96
  $('#livechat_login').focus();
 
 
 
 
 
 
97
  }
98
  });
 
99
  return false;
100
  }
101
  });
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === LiveChat ===
2
  Contributors: LiveChat
3
  Tags: live support, live chat, live chat software, online support, ecommerce, increase sales, customer help, customer support, livechat, live support, customer service, plugin, chat
4
- Stable tag: 3.2.7
5
  Requires at least: 2.8
6
- Tested up to: 3.6.1
7
 
8
  Live chat software for Wordpress plugin that integrate with LiveChat - an application for online customer service and support.
9
 
@@ -30,6 +30,9 @@ Take a tour to see why you need LiveChat on your website: http://www.livechatinc
30
 
31
  == Changelog ==
32
 
 
 
 
33
  = 3.2.7 =
34
  * Plugin compatible with the newest LiveChat version
35
 
1
  === LiveChat ===
2
  Contributors: LiveChat
3
  Tags: live support, live chat, live chat software, online support, ecommerce, increase sales, customer help, customer support, livechat, live support, customer service, plugin, chat
4
+ Stable tag: 3.2.8
5
  Requires at least: 2.8
6
+ Tested up to: 4.0.1
7
 
8
  Live chat software for Wordpress plugin that integrate with LiveChat - an application for online customer service and support.
9
 
30
 
31
  == Changelog ==
32
 
33
+ = 3.2.8 =
34
+ * Plugin fully supports the newest version of Wordpress.
35
+
36
  = 3.2.7 =
37
  * Plugin compatible with the newest LiveChat version
38