From 939e42f8fc8064599f815192e84de07bec9937e6 Mon Sep 17 00:00:00 2001 From: hexstudy Date: Mon, 15 Feb 2016 21:44:07 +0000 Subject: [PATCH] git-svn-id: https://msi/svn/firstRepo/WebClient/branches/Manut_3.0.1@67 0f545695-f87b-41b6-9a03-7f16563b5454 --- index.php | 22 +++++++++++++++++++++- js/modules/item/item.js | 5 ++++- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 695a864..c5a36e7 100644 --- a/index.php +++ b/index.php @@ -8,7 +8,27 @@ - + + + + + + + + + + + diff --git a/js/modules/item/item.js b/js/modules/item/item.js index d024063..757780f 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,