git-svn-id: https://msi/svn/firstRepo/WebClient/branches/NewRelease@34 0f545695-f87b-41b6-9a03-7f16563b5454

This commit is contained in:
2015-12-04 16:02:46 +00:00
parent 282ad76c48
commit 7c29b2d8b1
32 changed files with 10051 additions and 3807 deletions
+13
View File
@@ -91,6 +91,19 @@ define(['jquery', 'backbone'],
}
});
},
resetProfile: function(){
this.data.name = null;
this.data.email = null;
this.data.gender = null;
this.data.type = null;
this.data.picture = null;
this.data.tema = 'd';
this.data.risRic = '10';
this.setKeySave(null);
this.setName("");
this.setGender("");
window.localStorage.setItem("hello", null);
},
_getVal: function (key) {
return window.localStorage.getItem(key);
},