Ignore:
Timestamp:
2014-11-12T14:54:33+13:00 (9 years ago)
Author:
ak19
Message:

Changes made to some functions that were deleted in new version of jquery

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
    12var sparqlEndpoint= location.protocol + '//' + location.hostname + ":3030/greenstone/query" ;
    23var collectionName = gs.cgiParams.c;
     4
     5//returns the query used to recieve autocomplete data
    36function getAutocompleteQuery()
    47{
     
    1316
    1417}
     18
     19//Sets up various parts of the page, setting up onclick actions etc
    1520function setupPage()
    1621{
     
    9297function setupCharts()
    9398{   
    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(){
    95101        var clickedText = tidyPredicate($(this).text());
     102        $('#sel_Predicate option').removeAttr("selected");
    96103        $('#sel_Predicate option[text="' + clickedText + '"]').attr("selected","selected");
    97104        $('#sel_Predicate option').filter(function(){
Note: See TracChangeset for help on using the changeset viewer.