Added flat and ofuser view to the Google Image Picker

This commit is contained in:
benweet 2013-11-17 16:01:44 +00:00
parent cd923c1851
commit 08474f5397

View File

@ -686,7 +686,12 @@ define([
pickerBuilder.addView(view); pickerBuilder.addView(view);
} }
else if(pickerType == 'img') { 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.addView(google.picker.ViewId.PHOTO_UPLOAD);
} }
pickerBuilder.setCallback(function(data) { pickerBuilder.setCallback(function(data) {