Private GIT

Skip to content
Snippets Groups Projects
Commit cb76543e authored by Nic Wolfe's avatar Nic Wolfe
Browse files

Merge pull request #169 from thezoggy/jquery-fixes

Fixes: more jquery 1.6.x attr->prop problems
parents 23d91506 05db43b7
No related branches found
No related tags found
No related merge requests found
......@@ -126,7 +126,7 @@ $(document).ready(function(){
// if nothing's selected then select the default
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 ($("#rootDirs option:selected").length) {
......@@ -134,9 +134,9 @@ $(document).ready(function(){
}
// update the elements
$('#deleteRootDir').attr('disabled', do_disable);
$('#defaultRootDir').attr('disabled', do_disable);
$('#editRootDir').attr('disabled', do_disable);
$('#deleteRootDir').prop('disabled', do_disable);
$('#defaultRootDir').prop('disabled', do_disable);
$('#editRootDir').prop('disabled', do_disable);
var log_str = '';
var dir_text = '';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment