Closed (fixed)
Project:
FullCalendar
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Jan 2011 at 20:04 UTC
Updated:
22 Feb 2011 at 05:10 UTC
Where i can change code to force opening page in same window (_self), when i click on event title.
Thank you.
Comments
Comment #1
aspilicious commentedNormally you should
change to
In the views.js code. The return false means the page will open in a new window. But it doesn't rly work yet cause it opens the event in a new tab and in the same window.
Investigating...
Comment #2
aspilicious commentedIt's even easier.
1) Open the fullcalendar.view.js file.
2) find all the instances of window.open(calEvent.url);
3) replace them by window.open(calEvent.url, _self);
Tested locally, works :)
Need more options? http://www.w3schools.com/jsref/met_win_open.asp
Comment #3
darsic commentedThank you very much, it works :)
I spend a lot of time, trying to find this ... how could i miss this instance :))
Chears.
Comment #4
darsic commentedFixed.
Comment #5
tim.plunkettComment #6
TimelessDomain commented#2 worked for me. If this feature is not going to be made into a setting on this page http://yoursite.com/admin/settings/fullcalendar . Then this should be mentioned in the module documentation
Comment #7
tim.plunkettOh, this got implemented over here: #1050530: target window.