The protocol is hard coded and won't work for an https site.
var aurl = "http:/ds.l"+Drupal.settings.basePath + 'index.php?q=ajax/content_lock/'+nid+'/canceledit&t='+random;
var protocol = $(location).attr('protocol');
var aurl = protocol+"/ds.l"+Drupal.settings.basePath + 'index.php?q=ajax/content_lock/'+nid+'/canceledit&t='+random;
Comments
Comment #1
eugenmayer commentedWell, thats a pretty good patch and actually pretty bad by me (iam using https in 90% of all setups..).
Thank you very much!
Comment #2
eugenmayer commentedWell this need even more care, it seems like "ds.l" is a hardcoded host of mine, no idea how it got there.
Comment #3
eugenmayer commentedwill be included in 2.3