kylin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject [kylin] branch master updated: KYLIN-3292 The update button should be disabled with none key and value in setting config dialog (#116)
Date Fri, 23 Mar 2018 02:02:35 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
     new cfb21d7  KYLIN-3292 The update button should be disabled with none key and value
in setting config dialog (#116)
cfb21d7 is described below

commit cfb21d7c97d72c9c4dfc1079b7d147ef8363b2f4
Author: xingpeng1 <xing.peng1@zte.com.cn>
AuthorDate: Fri Mar 23 10:02:32 2018 +0800

    KYLIN-3292 The update button should be disabled with none key and value in setting config
dialog (#116)
---
 webapp/app/partials/admin/admin.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/webapp/app/partials/admin/admin.html b/webapp/app/partials/admin/admin.html
index b57ce0e..5c66942 100644
--- a/webapp/app/partials/admin/admin.html
+++ b/webapp/app/partials/admin/admin.html
@@ -123,7 +123,7 @@
       </div>
     </div>
     <div class="modal-footer">
-      <button class="btn btn-primary" ng-click="update()">Update</button>
+      <button class="btn btn-primary" ng-click="update()" ng-disabled="config_update_form.key_input.$invalid
|| config_update_form.value_input.$invalid">Update</button>
       <button class="btn btn-primary" ng-click="cancel()">Cancel</button>
     </div>
   </ng-form>

-- 
To stop receiving notification emails like this one, please contact
chen@apache.org.

Mime
View raw message