new encryption policy
This commit is contained in:
parent
fff80e0876
commit
c50f57fcfe
2 changed files with 5 additions and 13 deletions
|
@ -108,21 +108,13 @@ OptionsManager.prototype.getElemValue = function(elem) {
|
|||
val = this.types.get[type](elem);
|
||||
}
|
||||
|
||||
return this.encrypt(val);
|
||||
return val;
|
||||
};
|
||||
|
||||
OptionsManager.prototype.setElemValue = function(elem, val) {
|
||||
var type = elem.getAttribute('type');
|
||||
|
||||
if (typeof this.types.set[type] !== "undefined") {
|
||||
this.types.set[type](elem, this.decrypt(val));
|
||||
this.types.set[type](elem, val);
|
||||
}
|
||||
};
|
||||
|
||||
OptionsManager.prototype.encrypt = function(value) {
|
||||
return value;
|
||||
};
|
||||
|
||||
OptionsManager.prototype.decrypt = function(value) {
|
||||
return value;
|
||||
};
|
||||
|
|
Reference in a new issue