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