Registration almost functional

This commit is contained in:
Deon George
2020-07-08 12:42:58 +10:00
parent 83f3788b68
commit 44cb7838bb
19 changed files with 30 additions and 13 deletions

View File

@@ -98,6 +98,17 @@ function Frame() {
}
};
this.fieldValue=function(key) {
for each (var k in this.frame_fields) {
log(LOG_DEBUG,' - k:'+JSON.stringify(k));
if (k.fname == key) {
return k.fvalue;
}
}
return null;
}
Object.defineProperty(this,'page', {
get: function() {
if (this.frame == null || this.index == null) return null;