pz2: null,
totalRec: 0,
pagerRange: 6,
- pazpar2Path: Drupal.settings.mkdru.pz2_path,
- facetContainerSelector: Drupal.settings.mkdru.facetContainerSelector,
- // State; Keys limit_{facet key} will also be initialised
+ facetContainerSelector: '#mkdru-raw-facet-container',
defaultState: {
page: 1,
perpage: 20,
mkdru.pz2 = new pz2( { "onshow": mkdru.pz2Show,
"showtime": 500, //each timer (show, stat, term, bytarget) can be specified this way
- "pazpar2path": mkdru.pazpar2Path,
+ "pazpar2path": mkdru.settings.pz2_path,
"oninit": mkdru.pz2Init,
"onstat": mkdru.pz2Status,
"onterm": mkdru.pz2Term,
mkdru.pz2.init();
} else {
//runnin against SP
- var user = Drupal.settings.mkdru.sp_user;
- var pass = Drupal.settings.mkdru.sp_pass;
+ var user = mkdru.settings.sp.user;
+ var pass = mkdru.settings.sp.pass;
var params = {};
params['command'] = 'auth';
if (user && pass) {