whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: WHIMSY-321 Add a loading indicator for long-running "Use PDF data" operations
Date Sun, 12 Apr 2020 10:41:11 GMT
This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new e1bf347  WHIMSY-321 Add a loading indicator for long-running "Use PDF data" operations
e1bf347 is described below

commit e1bf3477e1564de53694460013a69a042ba5d186
Author: Sebb <sebb@apache.org>
AuthorDate: Sun Apr 12 11:40:10 2020 +0100

    WHIMSY-321 Add a loading indicator for long-running "Use PDF data"
    operations
---
 www/secretary/workbench/views/forms/icla.js.rb | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/www/secretary/workbench/views/forms/icla.js.rb b/www/secretary/workbench/views/forms/icla.js.rb
index fac00d4..5d6b2a2 100644
--- a/www/secretary/workbench/views/forms/icla.js.rb
+++ b/www/secretary/workbench/views/forms/icla.js.rb
@@ -31,7 +31,7 @@ class ICLA < Vue
           _th 'Real Name'
           _td do
             _input name: 'realname', value: @realname, required: true,
-               disabled: @filed, onChange: self.changeRealName
+               disabled: (@filed or @pdfbusy), onChange: self.changeRealName
           end
         end
 
@@ -39,7 +39,7 @@ class ICLA < Vue
           _th 'Public Name'
           _td do
             _input name: 'pubname', value: @pubname, required: true,
-              disabled: @filed, onFocus: lambda {@pubname ||= @realname}
+              disabled: (@filed or @pdfbusy), onFocus: lambda {@pubname ||= @realname}
           end
         end
 
@@ -47,7 +47,7 @@ class ICLA < Vue
           _th 'E-mail'
           _td do
             _input name: 'email', value: @email, required: true, type: 'email',
-              disabled: @filed
+              disabled: (@filed or @pdfbusy)
           end
         end
 
@@ -55,7 +55,7 @@ class ICLA < Vue
           _th 'File Name'
           _td do
             _input name: 'filename', value: @filename, required: true,
-              pattern: '[a-zA-Z][-\w]+(\.[a-z]+)?', disabled: @filed
+              pattern: '[a-zA-Z][-\w]+(\.[a-z]+)?', disabled: (@filed or @pdfbusy)
           end
         end
       end
@@ -65,7 +65,7 @@ class ICLA < Vue
           _th 'User ID'
           _td do
             _input name: 'user', value: @user, onBlur: self.validate_userid,
-              disabled: @filed, pattern: '^[a-z][a-z0-9]{2,}$'
+              disabled: (@filed or @pdfbusy), pattern: '^[a-z][a-z0-9]{2,}$'
           end
         end
 
@@ -78,7 +78,7 @@ class ICLA < Vue
             _th 'Project'
           end
           _td do
-            _select name: 'project', value: @project, disabled: @filed do
+            _select name: 'project', value: @project, disabled: (@filed or @pdfbusy) do
               _option ''
               @@projects.each do |project|
                 _option project


Mime
View raw message