0
1
Fork 0

Arreglado error en la arquitectura del paquete Debian

This commit is contained in:
Juan Ferrer Toribio 2015-08-21 16:13:21 +02:00
parent f56875a68a
commit 01e9a1e9c1
5 changed files with 22 additions and 4 deletions

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
hedera-web (1.0-49) stable; urgency=low hedera-web (1.1-1) stable; urgency=low
* Initial Release. * Initial Release.

2
debian/control vendored
View File

@ -8,7 +8,7 @@ Homepage: http://www.verdnatura.es
Vcs-Git: git://www.verdnatura.es/var/git/hedera-web Vcs-Git: git://www.verdnatura.es/var/git/hedera-web
Package: hedera-web Package: hedera-web
Architecture: any Architecture: all
Depends: apache2, php5-mysql, php-vn-web Depends: apache2, php5-mysql, php-vn-web
Suggests: php-text-captcha, php5-imap, vn-image, tinymce Suggests: php-text-captcha, php5-imap, vn-image, tinymce
Section: misc Section: misc

View File

@ -91,6 +91,7 @@
directory="catalog" directory="catalog"
subdir="200x200" subdir="200x200"
show-full="true" show-full="true"
full-dir="900x900"
editable="true"/> editable="true"/>
<htk-column-text title="_Name" column="Article"/> <htk-column-text title="_Name" column="Article"/>
<htk-column-text title="_Cat" renderer="featuresRender"/> <htk-column-text title="_Cat" renderer="featuresRender"/>

View File

@ -35,6 +35,21 @@ Htk.ColumnImage = new Class
{ {
type: Boolean type: Boolean
,value: false ,value: false
},
/**
* Subdirectory where full image are allocated.
**/
fullDir:
{
type: String
,set: function (x)
{
this._fullDir = x;
}
,get: function ()
{
return this._fullDir;
}
} }
} }
@ -112,8 +127,10 @@ Htk.ColumnImage = new Class
,onMouseOver: function (cell) ,onMouseOver: function (cell)
{ {
var fullDir = this._fullDir ? this._fullDir : 'full';
if (!cell.error) if (!cell.error)
this.fullImage.show (this.basedir, cell.value); this.fullImage.show (this.basedir +'/'+ fullDir, cell.value);
} }
,onMouseOut: function () ,onMouseOut: function ()

View File

@ -44,7 +44,7 @@ Htk.FullImage = new Class
,show: function (basedir, file) ,show: function (basedir, file)
{ {
var src = basedir +'/full/'+ file; var src = basedir +'/'+ file;
if (this.closed && this.src == src) if (this.closed && this.src == src)
return; return;