Commit e1f532c8541d3acffec0869c4361ceae7d50060c

Authored by Erdogan Furkan
1 parent 3f809629

#6265- IHM part done.

js/app/views/AstroImagesUI.js
... ... @@ -80,7 +80,7 @@ Ext.define('amdaUI.AstroImagesUI', {
80 80 {
81 81 var imageSrc = this.getPreviewUrl(image);
82 82 image.set('icon',imageSrc);
83   - image.set('iconCls','x-tree-icon-leaf');
  83 + image.set('iconCls','amda-astro-tree-icon-leaf');
84 84 }
85 85 else
86 86 {
... ...
js/resources/css/amda.css
... ... @@ -638,4 +638,9 @@ p + p {
638 638 .cm-s-default .cm-amda {
639 639 color: rgb(9, 134, 218);
640 640 font-weight: bold;
  641 +}
  642 +
  643 +.amda-astro-tree-icon-leaf {
  644 + background-image: url(images/tree/leaf.gif);
  645 + background-size: contain;
641 646 }
642 647 \ No newline at end of file
... ...
php/classes/AmdaAction.php
... ... @@ -1064,6 +1064,8 @@ class AmdaAction
1064 1064 // just convert TT / Catalog
1065 1065 if ($obj->nodeType == "download" && $obj->downloadSrc == "1")
1066 1066 return $this->executeRequest($obj, FunctionTypeEnumClass::TTCONVERT);
  1067 + else if ($obj->nodeType == "download" && $obj->downloadSrc == "2")
  1068 + return $this->executeRequest($obj, FunctionTypeEnumClass::DLOBJECT);
1067 1069 else if (isset($obj->action))
1068 1070 return $this->executeRequest($obj, FunctionTypeEnumClass::ACTION);
1069 1071 else
... ...