This commit is contained in:
@@ -771,9 +771,9 @@ function initForm(vm) {
|
||||
////////////////////
|
||||
//
|
||||
function populatePickLists(vm) {
|
||||
//http://localhost:7575/api/v8/DataListView/PickList?ListKey=TestWidgetDataList
|
||||
//http://localhost:7575/api/v8/DataListView/ViewList?ListKey=TestWidgetDataList
|
||||
return window.$gz.api
|
||||
.get("DataListView/PickList?ListKey=" + vm.dataListKey)
|
||||
.get("DataListView/ViewList?ListKey=" + vm.dataListKey)
|
||||
.then(res => {
|
||||
if (res.error != undefined) {
|
||||
window.$gz.errorHandler.handleFormError(res.error, vm);
|
||||
|
||||
@@ -450,8 +450,8 @@ function fetchTranslatedText(vm) {
|
||||
//
|
||||
//
|
||||
function populatePickLists(vm) {
|
||||
//http://localhost:7575/api/v8/Translation/PickList
|
||||
return window.$gz.api.get("Translation/PickList").then(res => {
|
||||
//http://localhost:7575/api/v8/Translation/List
|
||||
return window.$gz.api.get("Translation/List").then(res => {
|
||||
if (res.error != undefined) {
|
||||
window.$gz.errorHandler.handleFormError(res.error, vm);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user