Private GIT

Skip to content
Snippets Groups Projects
Commit 05db43b7 authored by Jonathon Saine's avatar Jonathon Saine
Browse files

Fixes: more jquery 1.6.x attr->prop problems

parent 23d91506
Branches
No related tags found
No related merge requests found
...@@ -126,7 +126,7 @@ $(document).ready(function(){ ...@@ -126,7 +126,7 @@ $(document).ready(function(){
// if nothing's selected then select the default // if nothing's selected then select the default
if (!$("#rootDirs option:selected").length && $('#whichDefaultRootDir').val().length) if (!$("#rootDirs option:selected").length && $('#whichDefaultRootDir').val().length)
$('#'+$('#whichDefaultRootDir').val()).attr('selected', 'selected') $('#'+$('#whichDefaultRootDir').val()).prop("selected", true)
// if something's selected then we have some behavior to figure out // if something's selected then we have some behavior to figure out
if ($("#rootDirs option:selected").length) { if ($("#rootDirs option:selected").length) {
...@@ -134,9 +134,9 @@ $(document).ready(function(){ ...@@ -134,9 +134,9 @@ $(document).ready(function(){
} }
// update the elements // update the elements
$('#deleteRootDir').attr('disabled', do_disable); $('#deleteRootDir').prop('disabled', do_disable);
$('#defaultRootDir').attr('disabled', do_disable); $('#defaultRootDir').prop('disabled', do_disable);
$('#editRootDir').attr('disabled', do_disable); $('#editRootDir').prop('disabled', do_disable);
var log_str = ''; var log_str = '';
var dir_text = ''; var dir_text = '';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment