// Fixed #PSFV-631
This commit is contained in:
@@ -174,9 +174,9 @@
|
|||||||
async: false,
|
async: false,
|
||||||
success: function(data)
|
success: function(data)
|
||||||
{
|
{
|
||||||
if (data)
|
if (data && $.isArray(data))
|
||||||
{
|
{
|
||||||
var color = data != 0 ? 'green' : 'red';
|
var color = data[0] != 0 ? 'green' : 'red';
|
||||||
$('#formMemcachedServerStatus').show();
|
$('#formMemcachedServerStatus').show();
|
||||||
$('input:text[name=memcachedIp]').css('background', color);
|
$('input:text[name=memcachedIp]').css('background', color);
|
||||||
$('input:text[name=memcachedPort]').css('background', color);
|
$('input:text[name=memcachedPort]').css('background', color);
|
||||||
|
|||||||
Reference in New Issue
Block a user