Commit 4ac88d61b18067d06f6ca4870a73d0621a249d5d

Authored by Benjamin Renard
1 parent e1f532c8

Fix file name in astro image module

Showing 1 changed file with 0 additions and 2 deletions   Show diff stats
js/app/views/AstroImagesUI.js
... ... @@ -105,8 +105,6 @@ Ext.define('amdaUI.AstroImagesUI', {
105 105 if(image.get('checked'))
106 106 {
107 107 var name = image.get('name');
108   - if (!name.substr(name.lastIndexOf('.') + 1) != "fits")
109   - name+='.fits';
110 108 imgList.push({name:name,
111 109 url:me.getImageToSendUrl(image)});
112 110 }
... ...