From: Aleksander Ɓukasz Date: Thu, 13 Jun 2013 13:35:21 +0000 (+0200) Subject: Disabling save dialog's text area while saving X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/e16c2ba3a8b07ced3d7a1c53834985775e9c7c51?hp=0479fc5313b1730d4de86b2b71a7bc721ab2b44a Disabling save dialog's text area while saving --- diff --git a/modules/data/saveDialog.js b/modules/data/saveDialog.js index a772ba6..aa6b285 100644 --- a/modules/data/saveDialog.js +++ b/modules/data/saveDialog.js @@ -41,6 +41,7 @@ define([ }, toggleButtons: function(toggle) { this.$('.btn, button').toggleClass('disabled', !toggle); + this.$('textarea').attr('disabled', !toggle); this.actionsDisabled = !toggle; } });