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