[Resolved] Error in scp/js/scp.js – Missing closing brackets/braces osTicket (v1.15.4)

    • October 12, 2021 at 6:52 am #8440
      stevland
      Keymaster

      No, the only error is the closing bracket. (That is an old function that is no longer needed).

      Please replace

      // osta - Load ticket counts in navigation BEFORE hover to prevent "jumping"
      // $(document).ready(function() {
      // $.ajax({
      // url: 'ajax.php/queue/counts',
      // dataType: 'json',
      // success: function(json) {
      // $('li span.queue-count').each(function(i, e) {
      // var $e = $(e);
      // $e.text(json['q' + $e.data('queueId')]);
      // $(e).parents().find('#queue-count-bucket').show();
      // });
      // }
      // });
      // });

      with

      });

      Thank you for reporting this!

    • October 12, 2021 at 6:53 am #8442

      Thank you I will replace as instructed 🙂

      Jeremy

You must be logged in to reply to this topic.

Topic Tags