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

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>');
}
}