From 0e6d22e25f19f6b6b7d717d65066ad33ae5cb4f3 Mon Sep 17 00:00:00 2001 From: Michael Gapczynski Date: Mon, 13 Aug 2012 10:44:53 -0400 Subject: [PATCH] Prevent editing Dropbox configuration input after access granted --- apps/files_external/js/dropbox.js | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/files_external/js/dropbox.js b/apps/files_external/js/dropbox.js index 770a9a1fa6..6fc362fb08 100644 --- a/apps/files_external/js/dropbox.js +++ b/apps/files_external/js/dropbox.js @@ -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('Access granted'); } }