- ajaxGet("getTimes.ajax", { "replies" : replyIds }, function(data, textStatus) {
- if ((data != null) && data.success) {
- $.each(data.replyTimes, function(index, value) {
- updateReplyTime(index, value.timeText, value.refreshTime, value.tooltip);
- });
- }
- });
+ if (replyIds != "") {
+ ajaxGet("getTimes.ajax", {"replies": replyIds}, function (data, textStatus) {
+ if ((data != null) && data.success) {
+ $.each(data.replyTimes, function (index, value) {
+ updateReplyTime(index, value.timeText, value.refreshTime, value.tooltip);
+ });
+ }
+ });
+ }