Anpassungen fuer coloradio
This commit is contained in:
@@ -414,15 +414,15 @@ var calcms_settings = new Array();
|
||||
initCalcms();
|
||||
//initWordpress();
|
||||
//addCommentsOnAgendaPages();
|
||||
calcms.showPlaylist();
|
||||
//calcms.showPlaylist();
|
||||
calcms.showNewestComments();
|
||||
// insertDeskDetails();
|
||||
// fixBlogEntries();
|
||||
calcms.removeCurrentPlayingHeader();
|
||||
// setImageSize();
|
||||
// setThumbs();
|
||||
// scrollNextEvent();
|
||||
//initSlider();
|
||||
scrollNextEvent();
|
||||
// initSlider();
|
||||
// mobilise();
|
||||
initSearch();
|
||||
console.log("calcms inited")
|
||||
|
||||
@@ -408,7 +408,7 @@ var calcms = (function($) {
|
||||
if (value != null && value != '') {
|
||||
var url = my.get('search_url');
|
||||
if (project != '' && project != null)
|
||||
url += escape(project) + '/';
|
||||
url += escape(encodeURI(project)) + '/';
|
||||
else
|
||||
url += 'all/';
|
||||
if (value != '' && value != null)
|
||||
@@ -452,9 +452,26 @@ var calcms = (function($) {
|
||||
if (seriesName != '' && seriesName != null) {
|
||||
var url = my.get('search_series_name_url');
|
||||
if (project != '' && project != null)
|
||||
{
|
||||
project = project.replace(/'/g, ' ');
|
||||
url += escape(project) + '/';
|
||||
}
|
||||
|
||||
if (seriesName != '' && seriesName != null)
|
||||
{
|
||||
// send series name to url fragment
|
||||
if(history.pushState)
|
||||
{
|
||||
history.pushState(null, 'Serie: '+seriesName, 'https://programm.coloradio.org/agenda/#seriesName+'+seriesName);
|
||||
}
|
||||
else
|
||||
{
|
||||
location.hash = '#seriesName+'+seriesName;
|
||||
}
|
||||
// escape apostrophe in show titles
|
||||
seriesName = seriesName.replace(/'/g, ' ');;
|
||||
url += encodeURI(escape(seriesName)) + '/';
|
||||
}
|
||||
if (archive != null && archive == 0)
|
||||
url += 'kommende/';
|
||||
if (archive != null && archive == 1)
|
||||
|
||||
13
website/agenda/js/mo.min.0.288.1.js
Normal file
13
website/agenda/js/mo.min.0.288.1.js
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user