forked from verdnatura/hedera-web
Modificada ruta para subir imagenes
This commit is contained in:
parent
f66be3dab0
commit
e3568ca058
|
@ -1,4 +1,4 @@
|
||||||
hedera-web (1.219-deb8) stable; urgency=low
|
hedera-web (1.220-deb8) stable; urgency=low
|
||||||
|
|
||||||
* Initial Release.
|
* Initial Release.
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ Vn.Photos = new Class
|
||||||
this.$('photo-size').value = 10 /* MB */ * 1048576;
|
this.$('photo-size').value = 10 /* MB */ * 1048576;
|
||||||
this.$('photo-id').focus ();
|
this.$('photo-id').focus ();
|
||||||
this.$('html-form').action =
|
this.$('html-form').action =
|
||||||
'//'+ Vn.Config['image_host'] +'/hedera-web/rest.php?action=image';
|
'//'+ Vn.Config['image_host'] +'/rest.php?action=image';
|
||||||
}
|
}
|
||||||
|
|
||||||
,onFormSubmit: function ()
|
,onFormSubmit: function ()
|
||||||
|
|
|
@ -8,7 +8,7 @@ Htk.ImageEditor = new Class
|
||||||
this.builderInit (Htk.ImageEditor.Xml);
|
this.builderInit (Htk.ImageEditor.Xml);
|
||||||
this.$('max-size').value = 10 /* MB */ * 1048576;
|
this.$('max-size').value = 10 /* MB */ * 1048576;
|
||||||
this.$('form').action =
|
this.$('form').action =
|
||||||
'//'+ Vn.Config['image_host'] +'/hedera-web/rest.php?action=image';
|
'//'+ Vn.Config['image_host'] +'/rest.php?action=image';
|
||||||
}
|
}
|
||||||
|
|
||||||
,onNameChange: function ()
|
,onNameChange: function ()
|
||||||
|
|
Loading…
Reference in New Issue