Bugs solucionados

This commit is contained in:
Juan Ferrer Toribio 2015-03-31 17:14:44 +02:00
parent dfc4e2f535
commit d4f34b4ed1
11 changed files with 16 additions and 16 deletions

View File

@ -1,5 +1,5 @@
Package: hedera-web
Version: 1.0-44
Version: 1.0-45
Architecture: all
Maintainer: Juan Ferrer Toribio <juan@verdnatura.es>
Depends: apache2, php5-mysql, php-vn-web

View File

@ -17,7 +17,7 @@
<div id="form" class="address">
<div class="box">
<div class="header">
<h1><t>EditAddress</t></h1>
<h1><t>AddEditAddress</t></h1>
<div class="action-bar">
<button on-click="onReturnClick">
<img src="image/dark/go-previous.svg" alt=""/>

View File

@ -8,6 +8,7 @@ Vn.Catalog = new Class
,activate: function ()
{
this.$('items-model').setInfo ('m', 'order_row_view', 'hedera', ['id'], 'id');
this.$('items-model').setInfo ('a', 'Articles', 'vn2008', ['Id_Article']);
this.$('price').renderer = this.priceRenderer;
this.$('type-column').renderer = this.typeRenderer.bind (this);

View File

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

@ -1074,7 +1074,7 @@ Db.Model.implement
,_createTarget: function (tableIndex)
{
var table = this.tables[tableIndex];
return new Sql.Table
({
name: table.orgname
@ -1156,12 +1156,12 @@ Db.Model.implement
this.tableInfo = {};
this.tableInfo[table] =
({
{
orgname: orgname,
schema: schema,
pks: pks,
ai: ai
});
};
this._repairColumns ();
}
@ -1169,18 +1169,18 @@ Db.Model.implement
,_repairColumns: function ()
{
// Repairs wrong table info
if (this.tableInfo && this.tables)
for (var i = 0; i < this.tables.length; i++)
{
var table = this.tables[i];
var tableInfo = this.tableInfo[table.name];
if (!tableInfo)
continue;
table.orgname = tableInfo.orgname;
table.schema = tableInfo.shema;
table.schema = tableInfo.schema;
if (tableInfo.pks)
{

View File

@ -139,7 +139,7 @@ Htk.Grid = new Class
{
this.internalColumn = new Htk.ColumnButton
({
image: 'image/remove.svg'
image: 'image/delete.svg'
,tip: _('Remove')
});
this.internalColumn.on ('clicked', this.removeClicked, this);

View File

@ -20,9 +20,8 @@ Sql.Table = new Class
,render: function (batch)
{
var sql;
sql = this.schema ? '`' + this.schema + '`.' : '';
sql = sql + '`' + this.name + '`';
var sql = this.schema ? '`' + this.schema + '`.' : '';
sql += '`' + this.name + '`';
return sql;
}
});

View File

@ -1,5 +1,5 @@
{
"EditAddress": "Afegir / Modificar adreça"
"AddEditAddress": "Afegir / Modificar adreça"
,"Name": "Consignatari"
,"Address": "Direcció"

View File

@ -1,5 +1,5 @@
{
"EditAddress": "Añadir / Modificar dirección"
"AddEditAddress": "Añadir / Modificar dirección"
,"Name": "Consignatario"
,"Address": "Dirección"

View File

@ -1,5 +1,5 @@
{
"EditAddress": "Ajouter / Modifier l'adresse"
"AddEditAddress": "Ajouter / Modifier l'adresse"
,"Name": "Destinataire"
,"Address": "Adresse De La Rue"

View File

@ -1,5 +1,5 @@
{
"EditAddress": "Añadir / Modificar dirección"
"AddEditAddress": "Añadir / Modificar dirección"
,"Name": "Consignatario"
,"Address": "Dirección"