git-svn-id: https://msi/svn/firstRepo/WebClient/branches/Manut_3.0.1@77 0f545695-f87b-41b6-9a03-7f16563b5454
This commit is contained in:
+13
-3
@@ -23,10 +23,15 @@ define(['jquery', 'underscore', 'backbone', 'text!modules/home/homeViewTemplate.
|
||||
}
|
||||
},
|
||||
events: {
|
||||
"click #noSpacc": "noSpacc",
|
||||
},
|
||||
|
||||
freeWall: null,
|
||||
|
||||
noSpacc: function(){
|
||||
window.localStorage.setItem("noSpacc", 1);
|
||||
},
|
||||
|
||||
calculateSize: function(){
|
||||
var size = 100;
|
||||
var widthDevice = (window.innerWidth > 0) ? window.innerWidth : screen.width;
|
||||
@@ -125,8 +130,7 @@ define(['jquery', 'underscore', 'backbone', 'text!modules/home/homeViewTemplate.
|
||||
}
|
||||
});
|
||||
this.freeWall.fitWidth();
|
||||
},
|
||||
|
||||
},
|
||||
onShowed: function ()
|
||||
{
|
||||
var self = this;
|
||||
@@ -137,7 +141,13 @@ define(['jquery', 'underscore', 'backbone', 'text!modules/home/homeViewTemplate.
|
||||
{
|
||||
this.changePicture(Profile.data.picture);
|
||||
}
|
||||
|
||||
if(myManifest.Settings.ShowStartMessage &&
|
||||
Profile.data.isSpacc === "0" &&
|
||||
window.localStorage.getItem("noSpacc") === null)
|
||||
{
|
||||
this.$el.find("#nomeUtente").text(Profile.data.name);
|
||||
this.$el.find("#messaggioSpacciatore").popup("open");
|
||||
}
|
||||
//Debug.writeMessage(myManifest.Agent.ua);
|
||||
},
|
||||
onClosing: function () {
|
||||
|
||||
Reference in New Issue
Block a user