Prevent editing Dropbox configuration input after access granted

This commit is contained in:
Michael Gapczynski 2012-08-13 10:44:53 -04:00
parent b6b2f8826b
commit 0e6d22e25f
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ $(document).ready(function() {
}
});
} else if ($(this).find('.configuration #granted').length == 0) {
$(this).find('.configuration input').attr('disabled', 'disabled');
$(this).find('.configuration').append('<span id="granted">Access granted</span>');
}
}