Disabling save dialog's text area while saving
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Thu, 13 Jun 2013 13:35:21 +0000 (15:35 +0200)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Thu, 13 Jun 2013 13:35:21 +0000 (15:35 +0200)
modules/data/saveDialog.js

index a772ba6..aa6b285 100644 (file)
@@ -41,6 +41,7 @@ define([
         },\r
         toggleButtons: function(toggle) {\r
             this.$('.btn, button').toggleClass('disabled', !toggle);\r
+            this.$('textarea').attr('disabled', !toggle);\r
             this.actionsDisabled = !toggle;\r
         }\r
     });\r