comparison WebApplication/viewer.js @ 19:20af33af313a

is-stable-series
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 09 Apr 2015 16:41:49 +0200
parents ecefd45026bf
children 9bb7caee0509
comparison
equal deleted inserted replaced
18:54d5dd1df2e5 19:20af33af313a
383 } 383 }
384 384
385 385
386 $.ajax({ 386 $.ajax({
387 type: 'GET', 387 type: 'GET',
388 url: '../../series/' + series, 388 url: '../is-stable-series/' + series,
389 dataType: 'json', 389 dataType: 'json',
390 cache: false, 390 cache: false,
391 async: true, 391 async: true,
392 success: function(series) { 392 success: function(stable) {
393 if (!series.IsStable && 393 if (!stable) {
394 series.Status != 'Complete') {
395 $('#unstable').show(); 394 $('#unstable').show();
396 } 395 }
397 } 396 }
398 }); 397 });
399 398