diff --git a/imagePreview.png b/imagePreview.png new file mode 100644 index 0000000..0a603db Binary files /dev/null and b/imagePreview.png differ diff --git a/index.php b/index.php index 1c3c867..1bb5e89 100644 --- a/index.php +++ b/index.php @@ -7,7 +7,17 @@ - + + + + + + + + + + + @@ -23,7 +33,7 @@ - + diff --git a/js/manifest.js b/js/manifest.js index 0600ce8..2f24286 100644 --- a/js/manifest.js +++ b/js/manifest.js @@ -1,7 +1,7 @@ var myManifest = { Debug: (window.location.port !== ""), Name: "Il Lievitario", - Version: "3.0.1.7", + Version: "3.0.2.0", Author: "Denis Ironi", Settings: { DefaultURL: (window.location.port === "" ? "http://" + window.location.host + "/Service": "http://" + window.location.hostname + ":" + window.location.port + "/Service_Manut"), diff --git a/js/modules/item/item.js b/js/modules/item/item.js index 885ef97..a6e1191 100644 --- a/js/modules/item/item.js +++ b/js/modules/item/item.js @@ -90,8 +90,11 @@ define(['jquery', 'underscore', 'backbone', 'text!modules/item/itemViewTemplate. var countImgLoaded = 0; Profile.existRicettaBloccoNote(ric.ricetta_id, function (exist) { + + var ric = self.collRicetta.toJSON()[0]; + self.$el.append(self.template({ - ricetta: self.collRicetta.toJSON()[0], + ricetta: ric, ingredienti: self.collIngredienti.toJSON(), profile: Profile, images: Images,