|
@@ -495,7 +495,7 @@
|
|
let user_perm = initData['user_perm']
|
|
let user_perm = initData['user_perm']
|
|
console.log(initData)
|
|
console.log(initData)
|
|
// let post_data = {'token': $.cookie('access_token')};
|
|
// let post_data = {'token': $.cookie('access_token')};
|
|
- let html_per = '<label for="lang_key_edit">KEY</label><textarea class="form-control" ' + (user_perm == 1 ? '' : 'disabled="disabled"') + ' type="text" id="lang_key_edit" oldkey="' + langKey + '" value="' + langKey + '"> '
|
|
|
|
|
|
+ let html_per = '<label for="lang_key_edit">KEY</label><input class="form-control" ' + (user_perm == 1 ? '' : 'disabled="disabled"') + ' type="text" id="lang_key_edit" oldkey="' + langKey + '" value="' + langKey + '"> '
|
|
$.each(la_list, function (idx, obj) {
|
|
$.each(la_list, function (idx, obj) {
|
|
let lang_perm_ls = initData['lang_perm_ls']
|
|
let lang_perm_ls = initData['lang_perm_ls']
|
|
let check_perm_flag = $.inArray(obj['lang'], lang_perm_ls)
|
|
let check_perm_flag = $.inArray(obj['lang'], lang_perm_ls)
|