Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit af9f53c

Browse files
author
Parth Shah
committed
supporting dropbox and onedrive for filestack
1 parent 67ce538 commit af9f53c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/directives/tc-fp-file-input/tc-fp-file-input.directive.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ import _ from 'lodash'
5454
}
5555

5656
// set default services
57-
scope.fpServices = scope.fpServices || 'COMPUTER,GOOGLE_DRIVE,BOX,DROPBOX'
57+
scope.fpServices = scope.fpServices || 'COMPUTER,GOOGLE_DRIVE,BOX,DROPBOX,SKYDRIVE'
5858
scope.fpContainer = CONSTANTS.FILE_PICKER_SUBMISSION_CONTAINER_NAME
5959

6060
// set max size
@@ -72,6 +72,7 @@ import _ from 'lodash'
7272

7373
var input = element.find('input')
7474
input = input.length ? input[0] : input
75+
scope.fpServices = _.split(scope.fpServices, ',')
7576
input.setAttribute('data-fp-maxSize', scope.maxSize)
7677
input.setAttribute('data-fp-services', scope.fpServices)
7778
input.setAttribute('data-fp-button-class', 'tc-btn')

app/submissions/submit-design-files/submit-design-files.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
field-id="SUBMISSION_ZIP",
3535
file-type="zip",
3636
button-text="Add File",
37-
services="COMPUTER,GOOGLE_DRIVE,BOX,DROPBOX",
37+
services="COMPUTER,GOOGLE_DRIVE,BOX,DROPBOX,SKYDRIVE",
3838
show-file-type="true",
3939
placeholder="Attach all visible files as a single .zip file",
4040
mandatory="true",

0 commit comments

Comments
 (0)