git-svn-id: https://msi/svn/firstRepo/WebClient/branches/NewRelease@34 0f545695-f87b-41b6-9a03-7f16563b5454
This commit is contained in:
@@ -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);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user