diff --git a/js/app/controllers/EpnTapModule.js b/js/app/controllers/EpnTapModule.js index e1142da..43b2003 100644 --- a/js/app/controllers/EpnTapModule.js +++ b/js/app/controllers/EpnTapModule.js @@ -170,7 +170,6 @@ Ext.define('amdaDesktop.EpnTapModule', { if(record.get('nb_results') > 0) { this.granulesStore.removeAll(); this.granulesStore.load({ - params: {'action': 'getGranules'}, callback: function (records, operation, success) { Ext.Ajax.resumeEvents('requestexception'); // console.log(Ext.decode(operation.response.responseText)); diff --git a/js/app/views/EpnTapUI.js b/js/app/views/EpnTapUI.js index 7983c2d..35a893c 100644 --- a/js/app/views/EpnTapUI.js +++ b/js/app/views/EpnTapUI.js @@ -263,7 +263,7 @@ Ext.define('App.util.Format', { }, 'granule.link': function(data, metadata, record) { var icon_b64 = 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgaGVpZ2h0PSIxMDI0IiB3aWR0aD0iNzY4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik02NDAgNzY4SDEyOFYyNTcuOTA1OTk5OTk5OTk5OTVMMjU2IDI1NlYxMjhIMHY3NjhoNzY4VjU3Nkg2NDBWNzY4ek0zODQgMTI4bDEyOCAxMjhMMzIwIDQ0OGwxMjggMTI4IDE5Mi0xOTIgMTI4IDEyOFYxMjhIMzg0eiIvPjwvc3ZnPg=='; - var icon = '<img width="15px height="15px" src="' + icon_b64 + '">'; + var icon = '<img style="width:15px;" alt="link" src="' + icon_b64 + '">'; url = Ext.util.Format.url(data); if(url) { txt = '<a style="font-size:150%" target="_blank" href="' + url + '">' + icon + '</a>'; @@ -274,7 +274,7 @@ Ext.define('App.util.Format', { img_url = Ext.util.Format.url(data); if(img_url) { icon = '<img style="max-width:100%; max-height:100%" alt="-" src="' + img_url + '">'; - img = '<img style="max-width:200px; max-height:200px" alt="-" src="' + img_url + '">'; + img = '<img style="max-width:200px; max-height:200px" src="' + img_url + '">'; } return Ext.util.Format.cell(icon, img); }, diff --git a/js/resources/css/amda.css b/js/resources/css/amda.css index 9e41d8e..51ce619 100644 --- a/js/resources/css/amda.css +++ b/js/resources/css/amda.css @@ -503,7 +503,5 @@ p + p { .epntap_cell { padding: 4px; - /*width: 100%; - height: 100%;*/ white-space: normal; } \ No newline at end of file -- libgit2 0.21.2