Index: /branches/rel_avx_2_7_3/src/webui/webui/htdocs/new/src/client/app/modules/system/submenu/general/ntp/ntp-add.html
===================================================================
--- /branches/rel_avx_2_7_3/src/webui/webui/htdocs/new/src/client/app/modules/system/submenu/general/ntp/ntp-add.html	(revision 8960)
+++ /branches/rel_avx_2_7_3/src/webui/webui/htdocs/new/src/client/app/modules/system/submenu/general/ntp/ntp-add.html	(working copy)
@@ -50,6 +50,9 @@
                         <select ng-if="ntpAdd.key_list.length > 0" bs-select class="form-control selectpicker" placeholder="" ng-model="ntpAdd.data.key_id" name="key_id">
                             <option ng-repeat="each in ntpAdd.key_list" value="{{each.key_id}}">{{each.key_id}}</option>
                         </select>
+                        <select ng-if="ntpAdd.key_list.length == 0" bs-select class="form-control selectpicker no-key" placeholder="" ng-model="ntpAdd.data.key_id" name="key_id">
+                            <option ng-repeat="each in ntpAdd.key_list" value="{{each.key_id}}">{{each.key_id}}</option>
+                        </select>
                     </div>
                 </div>
             </form>
Index: /branches/rel_avx_2_7_3/src/webui/webui/htdocs/new/src/client/app/modules/system/submenu/general/ntp/ntp.controller.js
===================================================================
--- /branches/rel_avx_2_7_3/src/webui/webui/htdocs/new/src/client/app/modules/system/submenu/general/ntp/ntp.controller.js	(revision 8960)
+++ /branches/rel_avx_2_7_3/src/webui/webui/htdocs/new/src/client/app/modules/system/submenu/general/ntp/ntp.controller.js	(working copy)
@@ -189,11 +189,19 @@
                 sysResourceService
                     .get_ntp_key()
                     .then(function(res) {
-                        modalViewModel.loading = false;
-                        if (res && res.status === 200) {
-                            modalViewModel.key_list = res.data.ntp_key;
+                            modalViewModel.loading = false;
+                            if (res && res.status === 200) {
+                                modalViewModel.key_list = res.data.ntp_key;
+                            }
+                            return res;
                         }
-                });
+                    ).then(function() {
+                        var selectNoKey = document.querySelector('.no-key');
+                        console.log(modalViewModel.key_list)
+                        if(modalViewModel.key_list.length > 0) {
+                            selectNoKey.style.display = 'none';
+                        }
+                    });
             };
             modalViewModel.get_key_list();
             modalViewModel.add = function(data) {
