diff -r dc415eb33a3f -r 95a5c06c4008 src/cm/media/js/site/f_text_view_frame.js --- a/src/cm/media/js/site/f_text_view_frame.js Mon Nov 18 17:31:53 2013 +0100 +++ b/src/cm/media/js/site/f_text_view_frame.js Thu Nov 28 09:11:51 2013 +0100 @@ -276,7 +276,7 @@ var first_browse_by_val = $.cookie('browse_by'); first_browse_by_val = (first_browse_by_val == null) ? "location" : first_browse_by_val ; _setCookie('browse_by', $('#browse_by').val()); - $("#browse_by option[value="+ first_browse_by_val +"]").attr("selected", true); + $("#browse_by option[value="+ first_browse_by_val +"]").prop("selected", true); showBrowseIndx() ; $("#browse_by").change(function() { @@ -630,7 +630,7 @@ $("#filter_name").append($("")) ; } - $("#filter_name option[name="+selectedNameOption+"]").attr("selected", true); + $("#filter_name option[name="+selectedNameOption+"]").prop("selected", true); // dates var selectedDateOption = $("#filter_date option:selected").attr("name") ; @@ -646,7 +646,7 @@ $("#filter_date").append($("")) ; } - $("#filter_date option[name="+selectedDateOption+"]").attr("selected", true); + $("#filter_date option[name="+selectedDateOption+"]").prop("selected", true); // text : nothing to do @@ -660,7 +660,7 @@ var item = newFilterData['tags'][i] ; $("#filter_tag").append($("")) ; } - $("#filter_tag option[name="+selectedTagOption+"]").attr("selected", true); + $("#filter_tag option[name="+selectedTagOption+"]").prop("selected", true); // categories var selectedCatOption = $("#filter_cat option:selected").attr("cat") ; @@ -676,7 +676,7 @@ $("#filter_cat").append($("")) ; } } - $("#filter_cat option[name="+selectedCatOption+"]").attr("selected", true); + $("#filter_cat option[name="+selectedCatOption+"]").prop("selected", true); } else { $("#filter_cat").remove() @@ -693,7 +693,7 @@ var item = newFilterData['states'][i] ; $("#filter_state").append($("")) ; } - $("#filter_state option[name="+selectedStateOption+"]").attr("selected", true); + $("#filter_state option[name="+selectedStateOption+"]").prop("selected", true); } ; f_interfaceUnfreeze = function() { @@ -703,7 +703,7 @@ } $(".inner-north select").add(".inner-north input").add("#outer-north select").add("#outer-north input").each( function() { - $(this).attr("disabled", false); + $(this).prop("disabled", false); }); $("#c_slider").slider('enable') ; @@ -717,7 +717,7 @@ } $(".inner-north select").add(".inner-north input").add("#outer-north select").add("#outer-north input").each( function() { - $(this).attr("disabled", true); + $(this).prop("disabled", true); }); $("#c_slider").slider('disable') ;