Added flat and ofuser view to the Google Image Picker
This commit is contained in:
parent
cd923c1851
commit
08474f5397
@ -686,7 +686,12 @@ define([
|
||||
pickerBuilder.addView(view);
|
||||
}
|
||||
else if(pickerType == 'img') {
|
||||
pickerBuilder.addView(google.picker.ViewId.PHOTOS);
|
||||
view = new google.picker.PhotosView();
|
||||
view.setType('flat');
|
||||
pickerBuilder.addView(view);
|
||||
view = new google.picker.PhotosView();
|
||||
view.setType('ofuser');
|
||||
pickerBuilder.addView(view);
|
||||
pickerBuilder.addView(google.picker.ViewId.PHOTO_UPLOAD);
|
||||
}
|
||||
pickerBuilder.setCallback(function(data) {
|
||||
|
Loading…
Reference in New Issue
Block a user