Yuki Takei 9 лет назад
Родитель
Сommit
f8654d154e
3 измененных файлов с 3 добавлено и 3 удалено
  1. 1 1
      lib/views/admin/app.html
  2. 1 1
      package.json
  3. 1 1
      resource/js/legacy/crowi.js

+ 1 - 1
lib/views/admin/app.html

@@ -316,7 +316,7 @@
               showMessage($id, 'エラーが発生しました', 'danger');
             })
             .always(function() {
-              $button.removeAttr('disabled');
+              $button.prop('disabled', false);
           });
           return false;
         });

+ 1 - 1
package.json

@@ -79,7 +79,7 @@
     "i18next-node-fs-backend": "~0.1.3",
     "i18next-sprintf-postprocessor": "~0.2.2",
     "inline-attachment": "git+https://github.com/Rovak/InlineAttachment.git#2.0.3",
-    "jquery": "~2.1.4",
+    "jquery": "~3.2.1",
     "jquery.cookie": "~1.4.1",
     "marked": "~0.3.6",
     "method-override": "~2.3.1",

+ 1 - 1
resource/js/legacy/crowi.js

@@ -556,7 +556,7 @@ $(function() {
       var $button = $('#comment-form-button');
       $button.attr('disabled', 'disabled');
       $.post('/_api/comments.add', $(this).serialize(), function(data) {
-        $button.removeAttr('disabled');
+        $button.prop('disabled', false);
         if (data.ok) {
           var comment = data.comment;