Calendar Block conflicts with jquery update

kleung11 - December 16, 2008 - 17:11
Project:Event
Version:5.x-1.0
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

With jquery_update 5.x-2.0 installed, the left/right arrows that scrolls the calendar block doesn't work. The inital AJAX works and a progress bar appears, but it's stuck at that location and the calendar does not reappear.

#1

johndp - December 18, 2008 - 14:46

I'm experiencing the same thing here.

#2

miesel - March 3, 2009 - 14:05

I have the same problem ...

#3

aritztg - March 20, 2009 - 10:21

Me too...

#4

hutch - March 20, 2009 - 10:57

Which browser?
For what it's worth, it works in firefox with event 5.x-2.x-dev and latest jquery-update

#5

aritztg - March 20, 2009 - 11:57

In Firefox 3.0.7 and IE6/7.
Event 5.x-1.0 and jquery_update 5.x-2.0

#6

aritztg - March 20, 2009 - 13:16

I believe have a solution for me, just changing the ajax load method.

Open eventblock.js, delete all, and copy:

// Global killswitch
if (Drupal.jsEnabled) {
  $(document).ready(eventblock_update);
}

function eventblock_update(){
  $("#block-event-0 div.content a.updateblock").click(function() {
$("#block-event-0 div.content").load($(this).href().replace("month", "block"), function(){
  eventblock_update();
});
return false;
  });
}

#7

miesel - July 16, 2009 - 10:55

Perfect!! Thanks so much ...

 
 

Drupal is a registered trademark of Dries Buytaert.