update components
This commit is contained in:
parent
942a0512d8
commit
e34c5d4388
9 changed files with 41 additions and 35 deletions
|
@ -1,4 +1,4 @@
|
|||
define(['localassetmanager'], function (localAssetManager) {
|
||||
define(['localassetmanager', 'cameraRoll'], function (localAssetManager, cameraRoll) {
|
||||
'use strict';
|
||||
|
||||
return function (connectionManager) {
|
||||
|
@ -7,7 +7,7 @@
|
|||
|
||||
self.uploadImages = function (server) {
|
||||
|
||||
return LocalAssetManager.getCameraPhotos().then(function (photos) {
|
||||
return cameraRoll.getFiles().then(function (photos) {
|
||||
|
||||
if (!photos.length) {
|
||||
return Promise.resolve();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue