diff --git a/app/webAppClient.html b/app/webAppClient.html index 5c46a24..90bc794 100644 --- a/app/webAppClient.html +++ b/app/webAppClient.html @@ -101,6 +101,18 @@ reject(result[1]) }).catch(error => reject(error)) }) + }, + + requestSubAdminList: function(){ + return new Promise((resolve, reject) => { + this.util.requestData([floGlobals.application, 'subAdmins']).then( + result => { + if (result[0]) + resolve(result[1]) + else + reject(result[1]) + }).catch(error => reject(error)) + }) } }