Changeset 29425


Ignore:
Timestamp:
11/13/14 12:26:35 (6 years ago)
Author:
sjs49
Message:

Use of .attr() deprecated in new version of jQuery, and was causing problems in Firefox. Changed to use .prop().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/model-sites-dev/von-sparql/js/von-sparql-setup.js

    r29423 r29425  
    101101        var clickedText = tidyPredicate($(this).text());
    102102        $('#sel_Predicate option').removeAttr("selected");
    103         $('#sel_Predicate option[text="' + clickedText + '"]').attr("selected","selected");
    104103        $('#sel_Predicate option').filter(function(){
    105104            return $(this).text() == clickedText;
    106         }).attr('selected', true);
     105        }).prop('selected', true);
    107106       
    108107        //Update refine object selector with new value for predicate
Note: See TracChangeset for help on using the changeset viewer.