PageSourceSearch

https://andreasboehlen.com/wp-content/plugins/iron-music/js/ironMusic.js?ver=7.1.3

js andreasboehlen.com collected 2026-10-07 15:11:53 UTC 1,892 bytes, 71 lines download raw bytes

1eventsFilter = function(){
2	if ( jQuery('.events-bar').length ) {
3
4		jQuery(document).on('change', '.events-bar #artists_filter', this ,function(e){
5			var $bar = jQuery(this).parents('.events-bar')
6			var $list = jQuery(this).parents('.events-bar').next('.concerts-list')
7			var artist_id = jQuery(this).val();
8
9			if(artist_id == 'all') {
10				$list.find('.nothing-found').remove()
11				$list.find('li').fadeIn();
12			}else{
13				$list.find('li').hide();
14				$list.find('.nothing-found').remove()
15				if ( $list.find('li.artist-'+artist_id).length ) {
16                	$list.find('li.artist-'+artist_id).fadeIn();
17				}else{
18
19					var noFind = jQuery('<li/>', {
20					 'text': ironmusic_vars.i18n.no_events,
21					 'class': 'nothing-found'
22					})
23					$list.find('.nothing-found').remove()
24					$list.append(noFind)
25				}
26			}
27
28		})
29
30	}
31}
32jQuery(document).ready(function($){
33	eventsFilter()
34})
35
36function redirect_event_archive(artist_id) {
37	$ = jQuery;
38	var $params = getParams();
39	var redirect_url = (event_url.indexOf('?') != -1 ) ? window.location.origin+window.location.pathname : event_url;
40	$params['artist-id'] = artist_id;
41	first_param = true;
42
43	$.each($params, function(index, val) {
44		if (val != 'all' && index != 'paged') {
45			if(first_param) {
46				first_param = false;
47				redirect_url += '?'+index+'='+val;
48			}
49			else {
50				redirect_url += '&'+index+'='+val;
51			}
52		}
53
54	});
55
56	window.location.href=redirect_url;
57
58}
59
60function getParams(){
61    var oGetVars = {};
62
63    if (location.search.length > 1) {
64      for (var aItKey, nKeyId = 0, aCouples = location.search.substr(1).split("&"); nKeyId < aCouples.length; nKeyId++) {
65        aItKey = aCouples[nKeyId].split("=");
66        oGetVars[decodeURIComponent(aItKey[0])] = aItKey.length > 1 ? decodeURIComponent(aItKey[1]) : "";
67      }
68    }
69
70    return oGetVars;
71}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.