Commit 4e3f8ae0fc785b14edc61a96f21b2ceb9c67d10e
1 parent
b510b648
Exists in
master
and in
112 other branches
passage epntap v2 apis dataset_id-Sgranule_gid et preview_url->thumbnail_url
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
js/app/views/APISImagesUI.js
@@ -18,7 +18,7 @@ Ext.define('amdaUI.APISImagesUI', { | @@ -18,7 +18,7 @@ Ext.define('amdaUI.APISImagesUI', { | ||
18 | 18 | ||
19 | getPreviewUrl : function(image) | 19 | getPreviewUrl : function(image) |
20 | { | 20 | { |
21 | - return image.get('preview_url'); | 21 | + return image.get('thumbnail_url'); |
22 | }, | 22 | }, |
23 | 23 | ||
24 | getImageLink : function(image) | 24 | getImageLink : function(image) |
@@ -123,7 +123,7 @@ Ext.define('amdaUI.APISImagesUI', { | @@ -123,7 +123,7 @@ Ext.define('amdaUI.APISImagesUI', { | ||
123 | stop : image.time_max, | 123 | stop : image.time_max, |
124 | exposure : image.time_exp_max, | 124 | exposure : image.time_exp_max, |
125 | instrument : image.instrument_name, | 125 | instrument : image.instrument_name, |
126 | - preview_url : image.preview_url, | 126 | + thumbnail_url : image.thumbnail_url, |
127 | fits_url : image.native_access_url, | 127 | fits_url : image.native_access_url, |
128 | image_url : image.access_url, | 128 | image_url : image.access_url, |
129 | additional_text : additional_text | 129 | additional_text : additional_text |
@@ -176,4 +176,4 @@ Ext.define('amdaUI.APISImagesUI', { | @@ -176,4 +176,4 @@ Ext.define('amdaUI.APISImagesUI', { | ||
176 | 176 | ||
177 | AmdaAction.getAPISImagesUrl(obj,this.onFinishGetImages,this); | 177 | AmdaAction.getAPISImagesUrl(obj,this.onFinishGetImages,this); |
178 | } | 178 | } |
179 | -}); | ||
180 | \ No newline at end of file | 179 | \ No newline at end of file |
180 | +}); |