sammy.bind ( 'cores_load_data', function( event, params ) { if( app.cores_data ) { params.callback( app.cores_data ); return true; } $.ajax ( { url : app.config.solr_path + app.config.core_admin_path + '?wt=json', dataType : 'json', beforeSend : function( xhr, settings ) { }, success : function( response, text_status, xhr ) { app.cores_data = response.status; params.callback( app.cores_data ); }, error : function( xhr, text_status, error_thrown) { }, complete : function( xhr, text_status ) { } } ); } ); sammy.bind ( 'cores_build_navigation', function( event, params ) { var navigation_content = ['