- Timestamp:
- 2014-11-12T14:54:33+13:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/model-sites-dev/von-sparql/js/von-sparql-setup.js
r28914 r29423 1 //SPARQL endpoint queries are sent to 1 2 var sparqlEndpoint= location.protocol + '//' + location.hostname + ":3030/greenstone/query" ; 2 3 var collectionName = gs.cgiParams.c; 4 5 //returns the query used to recieve autocomplete data 3 6 function getAutocompleteQuery() 4 7 { … … 13 16 14 17 } 18 19 //Sets up various parts of the page, setting up onclick actions etc 15 20 function setupPage() 16 21 { … … 92 97 function setupCharts() 93 98 { 94 $('#div_PredicateOverview .google-visualization-table-tr-even td:first-child, #div_PredicateOverview .google-visualization-table-tr-odd td:first-child').live("click", function(){ 99 100 $(document).on("click", "#div_PredicateOverview .google-visualization-table-tr-even td:first-child, #div_PredicateOverview .google-visualization-table-tr-odd td:first-child", function(){ 95 101 var clickedText = tidyPredicate($(this).text()); 102 $('#sel_Predicate option').removeAttr("selected"); 96 103 $('#sel_Predicate option[text="' + clickedText + '"]').attr("selected","selected"); 97 104 $('#sel_Predicate option').filter(function(){
Note:
See TracChangeset
for help on using the changeset viewer.