When trying to add a new task the page reloads and Firebug reports the following error in todolist.js (line 213):

$(i).attr("src") is undefined

Here the complete function containing the error:

function getBaseUrl() {
  var url = '';
  var script = $.grep($('head > script'), function(i) {
    return $(i).attr('src').indexOf('todolist.js') > -1
  });
  url = $(script).attr('src');
  url = url.substring(0, url.indexOf('modules/'));
  if (url.indexOf('sites/') > -1)
    url = url.substring(0, url.indexOf('sites/'));
  return url;
}

Comments

appel’s picture

It also happens when clicking the 'edit' button for any task.

marvil07’s picture

Version: 5.x-1.x-dev » 6.x-1.0-beta1
Status: Active » Fixed

It seems to be solved on 6.x, please reopen it if needed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.